Download the PHP package atk14/logger without Composer
On this page you can find all versions of the php package atk14/logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor atk14
Package logger
Short Description ATK14 Logger provides logging infrastructure for the ATK14 Framework
License MIT
Homepage https://github.com/atk14/Logger
Package logger
Short Description ATK14 Logger provides logging infrastructure for the ATK14 Framework
License MIT
Homepage https://github.com/atk14/Logger
Please rate this library. Is it a good library?
Informations about the package logger
ATK14 Logger
ATK14 Logger provides logging infrastructure for the ATK14 Framework.
Basic usage
define("LOGGER_DEFAULT_LOG_FILE","/path/to/app/log/log");
define("LOGGER_DEFAULT_NOTIFY_EMAIL","[email protected]");
$logger = new Logger("import_articles");
// do something
$logger->info("Total articles to import ".sizeof($articles));
// in order to write buffered messages to a file, just call flush() method
$logger->flush();
// a the end of a script call flushAll();
$logger->flushAll();
Levels of messages importance
$logger->debug("some debug information");
$logger->info("a message");
$logger->warn("a warning");
$logger->error("error message");
$logger->security("a security message");
All versions of logger with dependencies
PHP Build Version
Package Version
The package atk14/logger contains the following files
Loading the files please wait ....