PHP Class ManaPHP\Logger\Adapter\Db

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

Protected Properties

Property Type Description
$_log ManaPHP\Logger\Adapter\Db\Model
$_model string
$_nested boolean

Public Methods

Method Description
__construct ( string | array $options = [] ) Db constructor.
log ( string $level, string $message, array $context = [] ) : void

Method Details

__construct() public method

Db constructor.
public __construct ( string | array $options = [] )
$options string | array

log() public method

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

Property Details

$_log protected_oe property

protected Model,ManaPHP\Logger\Adapter\Db $_log
return ManaPHP\Logger\Adapter\Db\Model

$_model protected_oe property

protected string $_model
return string

$_nested protected_oe property

protected bool $_nested
return boolean