_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
string
The log message
string
The message context
bool
If it was successfully loggederror(string $msg, string $context) : bool
string
The log message
string
The message context
bool
If it was successfully loggedinfo(string $msg, string $context) : bool
string
The log message
string
The message context
bool
If it was successfully loggedinitialize()
instance()
log(int | string $level, string $msg, array $context) : bool
int
string
the log level
string
the log message
array
message context
\FuelException |
---|
bool
logfile($prefix, $suffix)
warning(string $msg, string $context) : bool
string
The log message
string
The message context
bool
If 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
int
string
the log level
string
the log message
string
array
message context
\FuelException |
---|
bool
need_logging(int | string $level) : bool
int
string
the log level
\FuelException |
---|
bool
$filename
$monolog
$path