프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$levels | array | The Log levels. | |
$logger | Psr\Log\LoggerInterface | Instance of Psr\Log\LoggerInterface |
메소드 | 설명 | |
---|---|---|
__construct ( |
Initialize the logger instance | |
addStream ( string $path, integer $level, boolean $bubble = true ) : Monolog\Handler\StreamHandler | Create a neaw stream handler | |
error ( string $message ) : boolean | Log the error is error logging is enabled. | |
info ( string $content ) : boolean | Log any output if output logging is enabled | |
write ( string $content, string $level ) : mixed | Write the log to the specified stream |
메소드 | 설명 | |
---|---|---|
getDefaultFormatter ( ) : Monolog\Formatter\LineFormatter | Get a default Monolog formatter instance | |
parseLevel ( string $level ) : integer | Parse the string level into a Monolog constant. |
public __construct ( |
||
$logger |
protected getDefaultFormatter ( ) : Monolog\Formatter\LineFormatter | ||
리턴 | Monolog\Formatter\LineFormatter |
protected parseLevel ( string $level ) : integer | ||
$level | string | |
리턴 | integer |