laramate / logger
Automated logging to your configured channels or to the console, depending on the environment.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/laramate/logger
Requires
- php: ^8.2
- illuminate/support: ^10.12|^11.0|^12.0
- symfony/console: ^6.2|^7.0
This package is auto-updated.
Last update: 2025-12-09 10:50:17 UTC
README
Send Log messages to your configured channels or to the console, depending on the environment.
Imagine, you run the same code, as a job and as a command. In both scenarios, you would like to have proper output, either through the configured log-channels or the console.
Logger will handle it for you:
use Laramate\Logger\Logger; Logger::info('Salz!');
- If the app is on console, Logger will log your message and output it to the console.
- If the app is on the log channel, it will only log your message to the configured channels.
Contributing
Feel free to contribute to this package.
Security
If you've found a bug regarding security please mail coding@laramate.de instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.