\EasyWeChat\SupportLog

Class Log.

Summary

Methods
Properties
Constants
getLogger()
setLogger()
hasLogger()
__callStatic()
__call()
debug()
info()
notice()
warning()
error()
critical()
alert()
emergency()
No public properties found
No constants found
No protected methods found
$logger
N/A
createDefaultLogger()
No private properties found
N/A

Properties

Methods

hasLogger()

hasLogger() : boolean

Tests if logger exists.

Returns

boolean

__callStatic()

__callStatic(string  $method, array  $args) : mixed

Forward call.

Parameters

string $method
array $args

Returns

mixed

__call()

__call(string  $method, array  $args) : mixed

Forward call.

Parameters

string $method
array $args

Returns

mixed

debug()

debug(mixed  $message, mixed  $context = null) : static

Parameters

mixed $message
mixed $context

Returns

static

info()

info(mixed  $message, mixed  $context = null) : static

Parameters

mixed $message
mixed $context

Returns

static

notice()

notice(mixed  $message, mixed  $context = null) : static

Parameters

mixed $message
mixed $context

Returns

static

warning()

warning(mixed  $message, mixed  $context = null) : static

Parameters

mixed $message
mixed $context

Returns

static

error()

error(mixed  $message, mixed  $context = null) : static

Parameters

mixed $message
mixed $context

Returns

static

critical()

critical(mixed  $message, mixed  $context = null) : static

Parameters

mixed $message
mixed $context

Returns

static

alert()

alert(mixed  $message, mixed  $context = null) : static

Parameters

mixed $message
mixed $context

Returns

static

emergency()

emergency(mixed  $message, mixed  $context = null) : static

Parameters

mixed $message
mixed $context

Returns

static

createDefaultLogger()

createDefaultLogger() : \Monolog\Logger

Make a default log instance.

Returns

\Monolog\Logger