_init()
debug()
error()
info()
initialize()
instance()
log()
logfile()
warning()
write()
need_logging()
$filename
$monolog
$path
Log core class facade for the Monolog composer package.
This class will provide the interface between the Fuel v1.x class API and the Monolog package, in preparation for FuelPHP v2.0
_init()
debug(string $msg, string $context) : bool
stringThe log message
stringThe message context
boolIf it was successfully loggederror(string $msg, string $context) : bool
stringThe log message
stringThe message context
boolIf it was successfully loggedinfo(string $msg, string $context) : bool
stringThe log message
stringThe message context
boolIf it was successfully loggedinitialize()
instance()
log(int | string $level, string $msg, array $context) : bool
intstringthe log level
stringthe log message
arraymessage context
\FuelException | 
|---|
boollogfile($prefix, $suffix)
warning(string $msg, string $context) : bool
stringThe log message
stringThe message context
boolIf it was successfully loggedwrite(int | string $level, string $msg, string | array $context) : bool
Generally this function will be called using the global log_message() function
intstringthe log level
stringthe log message
stringarraymessage context
\FuelException | 
|---|
boolneed_logging(int | string $level) : bool
intstringthe log level
\FuelException | 
|---|
bool$filename
$monolog
$path