\Imi\LogRecord

Summary

Methods
Properties
Constants
__construct()
getLevel()
getMessage()
getContext()
getTrace()
getLogTime()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$level
$message
$context
$trace
$logTime
N/A

Properties

$level

$level : string

日志等级

Type

string

$message

$message : mixed

消息

Type

mixed

$context

$context : array

上下文

Type

array

$trace

$trace : array

代码调用跟踪

Type

array

$logTime

$logTime : integer

日志时间戳

Type

integer

Methods

__construct()

__construct(  $level,   $message, array  $context,   $trace,   $logTime) 

Parameters

$level
$message
array $context
$trace
$logTime

getLevel()

getLevel() : string

Get 日志等级

Returns

string

getMessage()

getMessage() : mixed

Get 消息

Returns

mixed

getContext()

getContext() : array

Get 上下文

Returns

array

getTrace()

getTrace() : array

Get 代码调用跟踪

Returns

array

getLogTime()

getLogTime() : integer

Get 日志时间戳

Returns

integer