alphavel/logging

PSR-3 compliant logging package for Alphavel Framework

Maintainers

Package info

github.com/alphavel/logging

pkg:composer/alphavel/logging

Statistics

Installs: 0

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v1.0.0 2025-11-26 15:47 UTC

This package is auto-updated.

Last update: 2026-03-27 01:19:56 UTC


README

PSR-3 compliant logger with multiple channels

PHP Version License

✨ Features

  • 📝 PSR-3 compliant - Standard logger interface
  • 📁 Multiple channels - File, stdout, stderr
  • 🎯 Laravel-compatible - Familiar API
  • 🚀 Swoole-safe - Coroutine-compatible

📦 Installation

composer require alphavel/logging

🚀 Quick Start

use Log;

// Log levels (PSR-3)
Log::emergency('System down');
Log::alert('Immediate action needed');
Log::critical('Critical condition');
Log::error('Runtime error');
Log::warning('Warning message');
Log::notice('Normal but significant');
Log::info('Informational message');
Log::debug('Debug information');

// With context
Log::info('User logged in', ['user_id' => 123]);

📚 Documentation

Full documentation: https://github.com/alphavel/documentation/blob/master/packages/logging/README.md

📄 License

MIT License