Class: NullLogger

Source Location: /CORE/system/classes/logger/NullLogger.php

Class NullLogger

Class Overview

This Logger does nothing. It behaves like /dev/null/ ;-)

Located in /CORE/system/classes/logger/NullLogger.php [line 37]

Logger
   |
   --NullLogger
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: NullLogger.php,v 1.2 2006/11/26 22:03:57 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Logger

Logger::$logLevel

Inherited From Logger

Logger::Logger()
Create a new Logger instance with the given Log Level.
Logger::finalize()
Clean up all resources that might be used by this Logger!
Logger::formatBacktrace()
Formats one Entry of a Backtrace Entry.
Logger::getDescriptionForMode()
Returns the Description for the given Mode.
Logger::getErrorLevel()
Returns an array with all error level
Logger::getLogLevel()
Returns the current LogLevel.
Logger::isDebugEnabled()
Returns if Debugging is enabled.
Logger::isModeEnabled()
Returns if the given Mode is enabled.
Logger::log()
Log a message for a special mode, use this if you wanna use your own level/mode!
Logger::logDebug()
Messages of this Type are most often used for development or error search!
Logger::logEntry()
Logs a full LogEntry (which must be an object of the type classes.logger.LogEntry).
Logger::logError()
Messages of this Type will always be logged!
Logger::logInfo()
Messages of this Type are used for information messages.
Logger::logScriptError()
Callback function for the PHP logging mechanism.
Logger::logSQL()
Only SQL querys should be logged by this function, they have the lowest priority.
Logger::setLogLevel()
Sets the Level, that defines which Messages will be dumped.

[ Top ]
Method Summary
NullLogger   NullLogger()  
void   finalize()  
void   isDebugEnabled()  
void   isModeEnabled()  
void   log()  
void   logDebug()  
void   logError()  
void   logInfo()  
void   logScriptError()  
void   logSQL()  

[ Top ]
Methods
Constructor NullLogger  [line 40]

  NullLogger NullLogger( [ $logDefinition = '']  )

Parameters:
   $logDefinition: 


[ Top ]
finalize  [line 49]

  void finalize( )



Redefinition of:
Logger::finalize()
Clean up all resources that might be used by this Logger!

[ Top ]
isDebugEnabled  [line 46]

  void isDebugEnabled( )



Redefinition of:
Logger::isDebugEnabled()
Returns if Debugging is enabled.

[ Top ]
isModeEnabled  [line 47]

  void isModeEnabled( $mode  )

Parameters:
   $mode: 


Redefinition of:
Logger::isModeEnabled()
Returns if the given Mode is enabled.

[ Top ]
log  [line 41]

  void log( $mode, $msg  )

Parameters:
   $mode: 
   $msg: 


Redefinition of:
Logger::log()
Log a message for a special mode, use this if you wanna use your own level/mode!

[ Top ]
logDebug  [line 43]

  void logDebug( $msg  )

Parameters:
   $msg: 


Redefinition of:
Logger::logDebug()
Messages of this Type are most often used for development or error search!

[ Top ]
logError  [line 44]

  void logError( $msg  )

Parameters:
   $msg: 


Redefinition of:
Logger::logError()
Messages of this Type will always be logged!

[ Top ]
logInfo  [line 42]

  void logInfo( $msg  )

Parameters:
   $msg: 


Redefinition of:
Logger::logInfo()
Messages of this Type are used for information messages.

[ Top ]
logScriptError  [line 48]

  void logScriptError( $errno, $errmsg, $filename, $linenum, $vars  )

Parameters:
   $errno: 
   $errmsg: 
   $filename: 
   $linenum: 
   $vars: 


Redefinition of:
Logger::logScriptError()
Callback function for the PHP logging mechanism.

[ Top ]
logSQL  [line 45]

  void logSQL( $msg  )

Parameters:
   $msg: 


Redefinition of:
Logger::logSQL()
Only SQL querys should be logged by this function, they have the lowest priority.

[ Top ]