\AlibabaCloud\Client\TraitsLogTrait

Trait LogTrait

Summary

Methods
Properties
Constants
getLogger()
setLogger()
getLogFormat()
setLogFormat()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getCost()
$logger
$logStartTime
$logFormat
$ts
N/A

Properties

$logStartTime

$logStartTime : float

Type

float

$logFormat

$logFormat : string

Type

string

$ts

$ts : \DateTime

Type

\DateTime

Methods

getLogFormat()

getLogFormat() : string

Returns

string

setLogFormat()

setLogFormat(string  $formatter) 

Apache Common Log Format.

Parameters

string $formatter

getCost()

getCost() : float|mixed

Returns

float|mixed