Class RuntimeLogger

Description

This Logger saves all messages within an internal array. You may fetch these messages at the end of the call and use them for whatever you want (output in html, save to file...).

They are lost within the end of the call.

  • version: $Id: RuntimeLogger.php,v 1.6 2006/11/26 22:03:57 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
Logger
   |
   --RuntimeLogger
Method Summary
void countLog ( $mode)
void dumpMessages ( $mode, [ $pre = '<!-- '], [ $past = ' -->'], [ $showDesc = true])
void finalize ()
void log ( $mode,  $msg)
void Logger ()
Variables

Inherited Variables

Inherited from Logger

Logger::$logLevel
Methods
countLog (line 81)
void countLog ( $mode)
  • $mode
dumpMessages (line 69)
void dumpMessages ( $mode, [ $pre = '<!-- '], [ $past = ' -->'], [ $showDesc = true])
  • $mode
  • $pre
  • $past
  • $showDesc
finalize (line 86)
void finalize ()

Redefinition of:
Logger::finalize()
Clean up all resources that might be used by this Logger!
log (line 63)
void log ( $mode,  $msg)
  • $mode
  • $msg

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

Redefinition of:
Logger::Logger()
Create a new Logger instance with the given Log Level.

Inherited Methods

Inherited From Logger

Logger::Logger()
Logger::finalize()
Logger::formatBacktrace()
Logger::getDescriptionForMode()
Logger::isDebugEnabled()
Logger::isModeEnabled()
Logger::log()
Logger::logDebug()
Logger::logError()
Logger::logInfo()
Logger::logScriptError()
Logger::logSQL()
Logger::setLogLevel()

Documentation generated by phpDocumentor 1.3.1