PHP Class Airship\Engine\Continuum\Log

Show file Open project: paragonie/airship Class Usage Examples

Protected Properties

Property Type Description
$component string

Public Methods

Method Description
__construct ( Database $db = null, string $component = 'continuum' ) ContinuumLog constructor.
store ( string $level, string $message, array $context = [] ) : mixed Store information inside of the Continuum Log

Method Details

__construct() public method

ContinuumLog constructor.
public __construct ( Database $db = null, string $component = 'continuum' )
$db Airship\Engine\Database
$component string

store() public method

Store information inside of the Continuum Log
public store ( string $level, string $message, array $context = [] ) : mixed
$level string
$message string
$context array
return mixed

Property Details

$component protected property

protected string $component
return string