PHP Class ManaPHP\Logger\Adapter\File

Inheritance: extends ManaPHP\Component, implements ManaPHP\Logger\AdapterInterface
Datei anzeigen Open project: manaphp/manaphp

Protected Properties

Property Type Description
$_file string
$_firstLog boolean
$_format string

Public Methods

Method Description
__construct ( string | array | File $options = [] ) \ManaPHP\Logger\Adapter\File constructor.
log ( string $level, string $message, array $context = [] ) : void

Method Details

__construct() public method

\ManaPHP\Logger\Adapter\File constructor.
public __construct ( string | array | File $options = [] )
$options string | array | ConfManaPHP\Logger\Adapter\File

log() public method

public log ( string $level, string $message, array $context = [] ) : void
$level string
$message string
$context array
return void

Property Details

$_file protected_oe property

protected string $_file
return string

$_firstLog protected_oe property

protected bool $_firstLog
return boolean

$_format protected_oe property

protected string $_format
return string