Class AbstractCronjobLogger
package |
Default |
---|
__construct(\ExistingDirectory $root)
_camelCase2Snake(string $input) : string
string
Value to be formatted.
string
Snake case string of $input.
_createCacheFlagFile(boolean $success = true)
boolean
True for "success"-flag, and false otherwise.
_createCronjobsCacheIfNotExists()
_getLoggerName() : string
The name of the logger class without "Logger"-Suffix is used.
string
Name of logger.
_getLoggerNameInSnakeCase() : string
The name of the logger class without "Logger"-Suffix is used.
string
Logger name in snake case.
lastRun()
lastSuccess()
log(array $context = array()) : void
array
(Optional) Additional information.
logError(array $context = array()) : void
array
(Optional) Additional information.
logger : \Monolog\Logger
var |
---|
\Monolog\Logger
root : string
var |
---|
string