Download the PHP package zf-metal/log without Composer
On this page you can find all versions of the php package zf-metal/log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor zf-metal
Package log
Short Description Modulo de logs para Zend Framework 3
License MIT
Homepage https://github.com/cincarnato
Package log
Short Description Modulo de logs para Zend Framework 3
License MIT
Homepage https://github.com/cincarnato
Keywords zf3
Please rate this library. Is it a good library?
Informations about the package log
ZfMetal\Log
Dependencies
- zendframework/zend-log
- zf-metal/commons
Default path
proyectPath/logs
Config
Add a file config (ex: zfmetal-log.global.php) in config/autoload.
Service Manager
$container->get('zf-metal.log');
OR
$container->get(\ZfMetal\Log\Log::class);
Plugin Controller
$this->logger()
Facade
Logger::method();
Hot to use
$this->logger()->emerg($message);
$this->logger()->alert($message);
$this->logger()->crit($message);
$this->logger()->err($message);
$this->logger()->warn($message);
$this->logger()->notice($message);
$this->logger()->info($message);
$this->logger()->debug($message);
By Facade
Logger::emerg($message);
Logger::alert($message);
Logger::crit($message);
Logger::err($message);
Logger::warn($message);
Logger::notice($message);
Logger::info($message);
Logger::debug($message);
Log Exception (Message, File, Line, Trace )
-
$this->logger()->exception($exception);
Logger::exception($exception);
All versions of log with dependencies
PHP Build Version
Package Version
The package zf-metal/log contains the following files
Loading the files please wait ....