프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$encoding | string | encoding | |
$maxPickleDepth | integer | Maximum recursion for pickle method | |
$name | string | Holds name of this logger. | |
$style | string | Optional CSS snippet for logger icon in Firelogger console. |
메소드 | 설명 | |
---|---|---|
__construct ( string $name = 'logger' ) | Class constructor. | |
format ( string | integer | float | array | null | Exception $message, integer $type, integer $timestamp, array $context = [], array $trace = null, integer $order ) : mixed | Applies a format to a message before sent it to the internal log | |
getTypeString ( integer $type ) : string | Translates Phalcon log types into Firelogger log level strings. | |
setName ( string $name ) : |
Setter for _name | |
setStyle ( string $style ) : |
Setter for style |
메소드 | 설명 | |
---|---|---|
extractFileLine ( array $trace ) : array | Extracts useful information from debug_backtrace() | |
extractTrace ( array $trace ) : array | Extract useful information from exception traces. | |
pickle ( mixed $var, integer $level ) : mixed | Reformats the passed log item. Recursive. |
protected extractFileLine ( array $trace ) : array | ||
$trace | array | Array returned by debug_backtrace() |
리턴 | array |
protected extractTrace ( array $trace ) : array | ||
$trace | array | |
리턴 | array |
public format ( string | integer | float | array | null | Exception $message, integer $type, integer $timestamp, array $context = [], array $trace = null, integer $order ) : mixed | ||
$message | string | integer | float | array | null | Exception | |
$type | integer | |
$timestamp | integer | |
$context | array | |
$trace | array | This is the output from debug_backtrace(). |
$order | integer | How many logs are stored in the stack already. |
리턴 | mixed |
public getTypeString ( integer $type ) : string | ||
$type | integer | |
리턴 | string |
protected int $maxPickleDepth | ||
리턴 | integer |
protected string $style | ||
리턴 | string |