checks if the used log file already exists.
creates the missinglog file in webEdition/log/ with php exit statement at the beginning and .php suffix if it does not exist already.
static
void
checkCreateLog
([ $filename = ""])
logs messages to php errorlog
static
void
errorLog
([mixed $message = ""])
-
mixed
$message: message to write to errorlog $message can be a string as well as an array or an object
checks if either the system wide constant ENABLE_LOGGING or the class constant SELF::ENABLE_LOGGING is set to (bool)true
static
bool
isActive
()
logs messages with debuglevel via Zend_Log to webEdition logfile "syslog.php"
static
bool
log
([string $message = ""], [$filename $errorlevel = 7], [ $filename = "syslog"])
-
string
$message: message to write to log file
-
$filename
$errorlevel: optional parameter to write the message to another file than "syslog.php"
-
$filename
logs current memory usage to syslog
static
void
memusage
([string $message = ""])
-
string
$message: optional text message for description
static function to log messages with errorlevel to the system's syslog.
static
bool
syslog
([string $message = ""], [int $errorlevel = 7])
-
string
$message: message to write to log file
-
int
$errorlevel: priority code defined in Zend_Log: LOG_EMERG = 0; // Emergency: system is unusable LOG_ALERT = 1; // Alert: action must be taken immediately LOG_CRIT = 2; // Critical: critical conditions LOG_ERR = 3; // Error: error conditions LOG_WARNING = 4; // Warning: warning conditions LOG_NOTICE = 5; // Notice: normal but significant condition LOG_INFO = 6; // Informational: informational messages LOG_DEBUG = 7; // Debug: debug messages