Class Log
AloFramework logger.
- Psr\Log\LogLevel
- AloFramework\Log\Log implements Psr\Log\LoggerInterface, AloFramework\Config\Configurable uses Psr\Log\LoggerTrait (not available) AloFramework\Config\ConfigurableTrait (not available)
Namespace: AloFramework\Log
Author: Art a.molcanovas@gmail.com
Since:
Located at class/Log.php
Author: Art a.molcanovas@gmail.com
Since:
2.0 Is now configured via the Configurable interface
1.4 buildMessage() added
1.3 getBacktrace(), self::$ignoredFiles added
1.2 time() added, the separator is now a constant
1.1 getLastMessage() added
Located at class/Log.php
Methods summary
public
|
|
public
|
|
public static
array
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
protected
array
|
|
protected
string
|
|
protected
string
|
#
time( )
Returns the current time for log messages. Added as a method so you can overwrite it to the format you want |
protected static
string
|
Constants summary
string |
SEPARATOR
Log element separator. |
#
'|'
|
Properties summary
protected static
array
|
$ignoredFiles
File name fragments to ignore when generating the backtrace |
#
['Log.php']
|
Magic properties
public
|
$config
Configuration object |