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

Class: Mai_Log

Source Location: /Mai/Log.php

Class Overview


Mai_Log is a logger for Mai. Based on Zend_Log, firebug and firephp.


Author(s):

  • Wouter Bulten (wouterbulten@mai-ai.org)

Copyright:

  • Copyright (C) 2009 Mai (Me Artificial Intelligence)

Variables

Methods



Class Details

[line 57]
Mai_Log is a logger for Mai. Based on Zend_Log, firebug and firephp.



Tags:

author:  Wouter Bulten (wouterbulten@mai-ai.org)
copyright:  Copyright (C) 2009 Mai (Me Artificial Intelligence)
link:  http://www.launchpad.net/mai
license:  GNU General Public License version 3 (GPLv3)


[ Top ]


Class Variables

static $_channel =

[line 82]



Tags:

access:  protected

Type:   Zend_Wildfire_Channel_HttpHeaders


[ Top ]

static $_init =  false

[line 87]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $_instance =

[line 62]



Tags:

var:  Singleton instance
access:  protected

Type:   Mai_Log


[ Top ]

static $_logger =

[line 67]



Tags:

access:  protected

Type:   Zend_Log


[ Top ]

static $_request =

[line 72]



Tags:

access:  protected

Type:   Zend_Controller_Request_Http


[ Top ]

static $_response =

[line 77]



Tags:

access:  protected

Type:   Zend_Controller_Response_Http


[ Top ]



Class Methods


static method flush [line 180]

static void flush( )

Send output to the browser when firePHP is used.



Tags:

access:  public


[ Top ]

static method getInstance [line 102]

static Mai_Log getInstance( $creator $creator)

Retrieve singleton instance



Tags:

access:  public


Parameters:

$creator   $creator   Creator of this class.

[ Top ]

static method info [line 157]

static Zend_Log info( $message)

Send a info message to the log.



Tags:

access:  public


Parameters:

   $message  

[ Top ]

static method init [line 120]

static void init( $creator $creator)

Create the required objects. Starts up the log process.



Tags:

access:  public


Parameters:

$creator   $creator   Creator of this class.

[ Top ]

constructor __construct [line 94]

void __construct( )

Private constructor to prevent creation of this object.

Creates a log object.




Tags:

access:  private


[ Top ]

method __clone [line 198]

void __clone( )

Cloning of a singleton class is not allowed.



Tags:

access:  public


[ Top ]

method __wakeup [line 207]

void __wakeup( )

Function to prevent deserializing



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 27 Jul 2009 19:55:08 +0200 by phpDocumentor 1.4.1