23 lines
742 B
PHP
23 lines
742 B
PHP
<?php
|
|
|
|
class RippingCluster_WorkerLogEntry extends RippingCluster_LogEntry {
|
|
|
|
public static function debug($logger, $job_id, $message) {
|
|
static::log($logger, SihnonFramework_Log::LEVEL_DEBUG, $job_id, $message, 'worker');
|
|
}
|
|
|
|
public static function info($logger, $job_id, $message) {
|
|
static::log($logger, SihnonFramework_Log::LEVEL_INFO, $job_id, $message, 'worker');
|
|
}
|
|
|
|
public static function warning($logger, $job_id, $message) {
|
|
static::log($logger, SihnonFramework_Log::LEVEL_WARNING, $job_id, $message, 'worker');
|
|
}
|
|
|
|
public static function error($logger, $job_id, $message) {
|
|
static::log($logger, SihnonFramework_Log::LEVEL_ERROR, $job_id, $message, 'worker');
|
|
}
|
|
|
|
};
|
|
|
|
?>
|