mojavi
[ class tree: mojavi ] [ index: mojavi ] [ all elements ]

Class: Appender

Source Location: /logging/Appender.class.php

Class Overview

MojaviObject
   |
   --Appender

Appender allows you to specify a destination for log data and provide a custom layout for it, through which all log messages will be formatted.


Author(s):

  • Sean Kerr (skerr@mojavi.org)

Version:

  • $Id: Appender.class.php 761 2005-01-29 06:20:01Z seank $

Copyright:

Methods


Child classes:

Inherited Methods

Class: MojaviObject

MojaviObject::toString()
Retrieve a string representation of this object.

Class Details

[line 24]
Appender allows you to specify a destination for log data and provide a custom layout for it, through which all log messages will be formatted.



Tags:

abstract:  
version:  $Id: Appender.class.php 761 2005-01-29 06:20:01Z seank $
since:  1.0.0
copyright:  (c) Sean Kerr, http://www.mojavi.org
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]


Class Methods


method getLayout [line 46]

Layout getLayout( )

Retrieve the layout.



Tags:

return:  A Layout instance, if one has been set, otherwise null.
access:  public
since:  1.0.0
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]

method setLayout [line 65]

void setLayout( Layout $layout)

Set the layout.



Tags:

access:  public
since:  1.0.0
author:  Sean Kerr (skerr@mojavi.org)


Parameters:

Layout   $layout   A Layout instance.

[ Top ]

method shutdown [line 82]

void shutdown( )

Execute the shutdown procedure.



Tags:

abstract:  
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]

method write [line 96]

void write( string &$data)

Write log data to this appender.



Tags:

abstract:  
since:  1.0.0
author:  Sean Kerr (skerr@mojavi.org)


Parameters:

string   &$data   Log data to be written.

[ Top ]


Documentation generated on Tue, 21 Feb 2006 01:45:09 +0900 by phpDocumentor 1.3.0RC5