bigace.classes.logger
[ class tree: bigace.classes.logger ] [ index: bigace.classes.logger ] [ all elements ]

Class: FileLogger

Source Location: /classes/logger/FileLogger.php

Class Overview

Logger
   |
   --FileLogger

This Logger saves any kind of logging message to a file.


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: Logger

Logger::finalize()
Clean up all resources that might be used by this Logger!
Logger::getDescriptionForMode()
Returns the Description for the given Mode.
Logger::isDebugEnabled()
Returns if Debugging is enabled
Logger::isModeEnabled()
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 mostly used for development or error search!
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()
Log SQL Commands

Class Details

[line 32]
This Logger saves any kind of logging message to a file.



[ Top ]


Class Variables

$_file =

[line 35]


Type:   mixed


[ Top ]



Class Methods


constructor FileLogger [line 40]

FileLogger FileLogger( [mixed $logDefinition = ''])

Pass a PREFIX for your file if you do not th share your Log messsages with other Logger consumer.



[ Top ]

method finalize [line 69]

void finalize( )



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

[ Top ]

method log [line 52]

void log( mixed $mode, mixed $msg)



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

[ Top ]

method _formatString [line 58]

void _formatString( mixed $type, mixed $msg)



[ Top ]

method _logToFile [line 65]

void _logToFile( mixed $mode, mixed $line)



[ Top ]


Documentation generated on Tue, 11 Oct 2005 23:02:01 +0200 by phpDocumentor 1.3.0RC2