CrossPHP

ILog
in

日志接口

Interface ILog

Table of Contents

addToLog()  : $this
添加到日志
write()  : mixed
输出日志

Methods

addToLog()

添加到日志

public addToLog(string $tag[, mixed $data = [] ]) : $this
Parameters
$tag : string

日志标签

$data : mixed = []

日志内容

Return values
$this

write()

输出日志

public write(string $e[, mixed $log = '' ]) : mixed
Parameters
$e : string

文件名或日志标签名

$log : mixed = ''
Return values
mixed

Search results