Property | Type | Description | |
---|---|---|---|
$debug_log_path | string | Path for debug log | |
$debug_log_temp_stream_handle | null | Temporary stream handle for debug log | |
$error_log_path | string | Path for error log | |
$monolog | Monolog instance | ||
$monolog_update | Monolog instance for update | ||
$update_log_path | string | Path for update log |
Method | Description | |
---|---|---|
debug ( string $text ) | Report debug log | |
endDebugLogTempStream ( string $message = '%s' ) | Write the temporary debug stream to log and close the stream handle | |
error ( string $text ) | Report error log | |
getDebugLogTempStream ( ) : mixed | Get the stream handle of the temporary debug output | |
initDebugLog ( string $path ) : |
Initialize debug log | |
initErrorLog ( string $path ) : |
Initialize error log | |
initUpdateLog ( string $path ) : |
Initialize update log | |
initialize ( |
Initialize | |
isDebugLogActive ( ) : boolean | Is debug log active | |
isErrorLogActive ( ) : boolean | Is error log active | |
isUpdateLogActive ( ) : boolean | Is update log active | |
update ( string $text ) | Report update log |
public static endDebugLogTempStream ( string $message = '%s' ) | ||
$message | string | Message (with placeholder) to write to the debug log |
public static getDebugLogTempStream ( ) : mixed | ||
return | mixed | The stream if debug is active, else false |
public static initDebugLog ( string $path ) : |
||
$path | string | |
return |
public static initErrorLog ( string $path ) : |
||
$path | string | |
return |
public static initUpdateLog ( string $path ) : |
||
$path | string | |
return |
public static initialize ( |
||
$external_monolog | ||
return |
public static isDebugLogActive ( ) : boolean | ||
return | boolean |
public static isErrorLogActive ( ) : boolean | ||
return | boolean |
public static isUpdateLogActive ( ) : boolean | ||
return | boolean |
protected static string $debug_log_path | ||
return | string |
protected static null $debug_log_temp_stream_handle | ||
return | null |
protected static string $error_log_path | ||
return | string |
protected static Logger,Monolog $monolog | ||
return |
protected static Logger,Monolog $monolog_update | ||
return |
protected static string $update_log_path | ||
return | string |