Documentation

Logger extends Logger
in package

Table of Contents

CONFIG_DIR  = 'log.dir'
CONFIG_LEVEL  = 'log.level'
CONFIG_OPTIONS  = 'log.options'
DEBUG  = 'debug'
DEFAULT_DIR  = 'logs'
DEFAULT_LEVEL  = 'error'
DEFAULT_OPTIONS  = []
ERROR  = 'error'
INFO  = 'info'
WARNING  = 'warning'
$level  : string
__construct()  : mixed
error()  : mixed
level()  : string

Constants

CONFIG_DIR

public mixed CONFIG_DIR = 'log.dir'

CONFIG_LEVEL

public mixed CONFIG_LEVEL = 'log.level'

CONFIG_OPTIONS

public mixed CONFIG_OPTIONS = 'log.options'

DEBUG

public mixed DEBUG = 'debug'

DEFAULT_DIR

public mixed DEFAULT_DIR = 'logs'

DEFAULT_LEVEL

public mixed DEFAULT_LEVEL = 'error'

DEFAULT_OPTIONS

public mixed DEFAULT_OPTIONS = []

ERROR

public mixed ERROR = 'error'

WARNING

public mixed WARNING = 'warning'

Properties

Methods

__construct()

public __construct(Config $config) : mixed
Parameters
$config : Config
Return values
mixed

error()

public error(mixed $message[, array<string|int, mixed> $context = array() ]) : mixed
Parameters
$message : mixed
$context : array<string|int, mixed> = array()
Return values
mixed

level()

public level() : string
Return values
string

Search results