LoggerManager
Class LoggerManager
Table of Contents
Constants
- TYPE_DATABASE = 'db'
- TYPE_FILE = 'file'
Methods
- deactivate() : void
- getEndTimeLogging() : int
- getFilePath() : string
- getFilterOptions() : array<string|int, mixed>
- getInstance() : LoggerManager
- getLevel() : string
- getLevelList() : array<string|int, mixed>
- getLogger() : Logger|null
- getType() : string
- isActive() : bool
- setEndTimeLogging() : void
- setFilePath() : bool
- setFilterOptions() : void
- setLevel() : bool
- setType() : bool
Constants
TYPE_DATABASE
public
mixed
TYPE_DATABASE
= 'db'
TYPE_FILE
public
mixed
TYPE_FILE
= 'file'
Methods
deactivate()
public
deactivate() : void
getEndTimeLogging()
public
getEndTimeLogging() : int
Return values
intgetFilePath()
public
getFilePath() : string
Return values
stringgetFilterOptions()
public
getFilterOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>getInstance()
public
static getInstance() : LoggerManager
Return values
LoggerManagergetLevel()
public
getLevel() : string
Return values
stringgetLevelList()
public
getLevelList() : array<string|int, mixed>
Return values
array<string|int, mixed>getLogger()
public
getLogger() : Logger|null
Return values
Logger|nullgetType()
public
getType() : string
Return values
stringisActive()
public
isActive() : bool
Return values
boolsetEndTimeLogging()
public
setEndTimeLogging(int $time) : void
Parameters
- $time : int
setFilePath()
public
setFilePath(string $path) : bool
Parameters
- $path : string
Return values
boolsetFilterOptions()
public
setFilterOptions(array<string|int, mixed> $filters) : void
Parameters
- $filters : array<string|int, mixed>
setLevel()
public
setLevel(mixed $level) : bool
Parameters
- $level : mixed
Return values
boolsetType()
public
setType([string $type = self::TYPE_FILE ]) : bool
Parameters
- $type : string = self::TYPE_FILE