Class XmlFileLogger

Description

This Logger saves the Log Message as XML Entrys to a file.

It directly extends the FileLogger and only transforms the Log Messages into a diffenrent Format.

  • version: $Id: XmlFileLogger.php,v 1.2 2006/11/26 22:03:57 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
Logger
   |
   --FileLogger
      |
      --XmlFileLogger
Method Summary
XmlFileLogger XmlFileLogger ([int $logDefinition = ''], String 1)
Variables

Inherited Variables

Inherited from Logger

Logger::$logLevel
Methods
Constructor XmlFileLogger (line 50)

Pass a PREFIX for your file.

If you do not pass a Prefix, your Log messsages might be shared with other Logger instances.

XmlFileLogger XmlFileLogger ([int $logDefinition = ''], String 1)
  • String 1: the Prefix for the File.
  • int $logDefinition: the LogLevel

Inherited Methods

Inherited From FileLogger

FileLogger::FileLogger()
FileLogger::finalize()
FileLogger::initLogger()
FileLogger::log()

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