Class logging
Class CLI
Your commandline script should inherit from this class and implement the abstract methods.
- splitbrain\phpcli\CLI
- logging
protected
|
#
setup(
Register options and arguments on the given $options object |
protected
|
__construct(),
alert(),
checkArgments(),
critical(),
debug(),
emergency(),
error(),
execute(),
fatal(),
handleDefaultOptions(),
info(),
interpolate(),
log(),
notice(),
parseOptions(),
registerDefaultOptions(),
run(),
setupLogging(),
success(),
warning()
|
protected
string
|
$logdefault
|
#
'debug'
|
$bin,
$colors,
$loglevel,
$options
|