Class Logger
A message logger using the core's session to store the messages.
-
ICanBoogie\Logger
implements
ICanBoogie\LoggerInterface
uses
ICanBoogie\LoggerTrait
Methods summary
public
log( $level
, $message
, array $context
= [] )
public
get_messages( string $level
)
: string[]
Return the messages of a specified level
Return the messages of a specified level
Parameters
Returns
string[]
Implementation of
public
fetch_messages( string $level
)
: string[]
Return and clear the messages of a specified level
Return and clear the messages of a specified level
Parameters
Returns
string[]
Implementation of
success()
Constants summary
MAX_MESSAGES
: integer
50