mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
38 lines
454 B
PHP
38 lines
454 B
PHP
<?php
|
|
|
|
/* crmv@148761 */
|
|
|
|
/**
|
|
* Empty class to disable logging
|
|
*/
|
|
class Logger {
|
|
|
|
static $instance = null;
|
|
|
|
public static function configure() {
|
|
}
|
|
|
|
public static function getLogger() {
|
|
if (!self::$instance) {
|
|
self::$instance = new Logger();
|
|
}
|
|
return self::$instance;
|
|
}
|
|
|
|
function info($message) {
|
|
}
|
|
|
|
function debug($message) {
|
|
}
|
|
|
|
function warn($message) {
|
|
}
|
|
|
|
function fatal($message) {
|
|
}
|
|
|
|
function error($message) {
|
|
}
|
|
|
|
}
|