Documentation

FileBasedLogger
in package
implements ILogger

Table of Contents

Interfaces

ILogger

Constants

LOG_FILE  = STORAGE . 'log' . DIRECTORY_SEPARATOR . 'app.log'

Properties

$logger  : Logger

Methods

__construct()  : mixed
FileBasedLogger constructor.
debug()  : void
error()  : void
info()  : void
log()  : void
notice()  : void
warning()  : void

Constants

LOG_FILE

public mixed LOG_FILE = STORAGE . 'log' . DIRECTORY_SEPARATOR . 'app.log'

Properties

Methods

__construct()

FileBasedLogger constructor.

public __construct(Logger $logger) : mixed
Parameters
$logger : Logger
Tags
throws
Exception

debug()

public debug(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

error()

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

info()

public info(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

log()

public log(string $type, string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$type : string
$message : string
$context : array<string|int, mixed> = []

notice()

public notice(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

warning()

public warning(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

        
On this page

Search results