Class AlfredBundlerLogger
Simple logging functionality that writes to files or STDERR
Usage: just create a single object and reuse it solely. Initialize the object with a full path to the log file (no log extension)
This class was written to be part of the PHP implementation of the Alfred Bundler for the bundler's internal logging requirements. However its functionality is also made available to any workflow author implementing the bundler.
While you can use this class without going through the bundler, it is easier just to use the logging functionality indirectly via the bundler object.
Package: AlfredBundler
Copyright: The Alfred Bundler Team 2014
License: MIT
Since: Class available since Taurus 1
See:
See:
See:
See:
See:
See:
See:
Located at AlfredBundlerLogger.php
Copyright: The Alfred Bundler Team 2014
License: MIT
Since: Class available since Taurus 1
See:
AlfredBundlerInternalClass::$log
See:
AlfredBundlerInternalClass::debug()
See:
AlfredBundlerInternalClass::info()
See:
AlfredBundlerInternalClass::warning()
See:
AlfredBundlerInternalClass::error()
See:
AlfredBundlerInternalClass::critical()
See:
AlfredBundlerInternalClass::console()
Located at AlfredBundlerLogger.php
public
|
#
__construct( string $log, string $destination = 'file' )
Sets variables and ini settings to ensure there are no errors |
public
|
|
public
string
|
|
public
|
|
public
|
public
string
|
$log |
|
#
Log file |
protected
array
|
$logLevels |
|
#
An array of log levels (int => string ) |