Skip to content

joaojacome/onelog-bundle

This branch is 6 commits behind koderhut/onelog-bundle:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Joao Jacome
Sep 21, 2018
0574664 · Sep 21, 2018

History

19 Commits
Sep 21, 2018
Jul 24, 2018
Sep 21, 2018
Sep 20, 2018
Sep 3, 2018
Sep 3, 2018
Sep 21, 2018
Sep 21, 2018
Jul 24, 2018
Sep 20, 2018
Jul 24, 2018
Jul 24, 2018
Aug 9, 2018
Sep 20, 2018
Jul 24, 2018
Sep 21, 2018
Sep 21, 2018
Sep 20, 2018
Jul 24, 2018
Jul 24, 2018
Jul 24, 2018

Repository files navigation

One Log ...

to rule them all

Onelog Bundle

This bundle will help with wrapping all monolog and other loggers in a Symfony app into a single logger entry point simplifying the logging needed in an app.

Usages

  • $onelog->debug('test', []); <-- wil proxy the data to the default logger, in case of Monolog the app logger is used
  • $onelog->my_logger->debug('test', []); <-- will forward the call to the logger my_logger, in case of Monolog to the my_logger channel
  • \OneLog::debug('test', []); <-- shortcut to the default logger instance
  • \OneLog::instance()->my_logger->debug('test', []); <-- shortcut for accessing a specific logger instance

To be added:

  • $onelog->logObject($object, []);

LICENSE

Please review the LICENSE file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%