Class Ismo_Core_NullLogger

Description

The default log class.

This is the log class that is used by default in the Ismo_Core_Application class. It just disregards all the logging requests it gets and nothing is logged anywhere. So if you want to the log messages saved somewhere you better change the used log class in the Ismo_Core_Application class with the setLogger() method.

Located in /NullLogger.php (line 80)


	
			
Method Summary
Ismo_Core_NullLogger Ismo_Core_NullLogger ()
boolean close ()
boolean log (string $message, string $priority)
Methods
Constructor Ismo_Core_NullLogger (line 88)

The constructor.

  • access: public
Ismo_Core_NullLogger Ismo_Core_NullLogger ()
close (line 103)

Closes the log.

This is a null logger so it doesn't do anything.

  • return: true if successful, false otherwise
  • access: public
boolean close ()
log (line 122)

Logs a message.

This is a null logger so the message isn't really logged.

  • return: true if successful, false if the operation failed.
  • access: public
boolean log (string $message, string $priority)
  • string $message: the textual message to be logged
  • string $priority: the priority of the message, valid values depend on the used log class.

Documentation generated on Mon, 14 Jun 2004 11:59:28 +0200 by phpDocumentor 1.3.0RC3