HandlerInterface
in
Debug handler interface
Tags
Table of Contents
Methods
- getLogger() : Logger|null
- Get logger
- getLoggingParams() : array<string|int, mixed>
- Get logging params
- getName() : string|null
- Get name
- hasLogger() : bool
- Has logger
- hasLoggingParams() : bool
- Has logging parameters
- hasName() : bool
- Has name
- log() : void
- Trigger handle logging
- prepare() : array<string|int, mixed>
- Prepare handler data for storage
- prepareAsString() : string
- Prepare handler data as string
- prepareHeaderAsString() : string
- Prepare header string
- setLogger() : HandlerInterface
- Set logger
- setLoggingParams() : HandlerInterface
- Set logger
- setName() : HandlerInterface
- Set name
Methods
getLogger()
Get logger
public
getLogger() : Logger|null
Return values
Logger|nullgetLoggingParams()
Get logging params
public
getLoggingParams() : array<string|int, mixed>
Return values
array<string|int, mixed>getName()
Get name
public
getName() : string|null
Return values
string|nullhasLogger()
Has logger
public
hasLogger() : bool
Return values
boolhasLoggingParams()
Has logging parameters
public
hasLoggingParams() : bool
Return values
boolhasName()
Has name
public
hasName() : bool
Return values
boollog()
Trigger handle logging
public
log() : void
prepare()
Prepare handler data for storage
public
prepare() : array<string|int, mixed>
Return values
array<string|int, mixed>prepareAsString()
Prepare handler data as string
public
prepareAsString() : string
Return values
stringprepareHeaderAsString()
Prepare header string
public
prepareHeaderAsString() : string
Return values
stringsetLogger()
Set logger
public
setLogger(Logger $logger) : HandlerInterface
Parameters
- $logger : Logger
Return values
HandlerInterfacesetLoggingParams()
Set logger
public
setLoggingParams(array<string|int, mixed> $loggingParams) : HandlerInterface
Parameters
- $loggingParams : array<string|int, mixed>
Return values
HandlerInterfacesetName()
Set name
public
setName(string $name) : HandlerInterface
Parameters
- $name : string