PHP Classes
Icontem

File: _interfaces/ILogger.intf.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marius Zadara  >  Logger  >  _interfaces/ILogger.intf.php  
File: _interfaces/ILogger.intf.php
Role: Class source
Content type: text/plain
Description: Logger interface
Class: Logger
Filter and export data of application events
 

Contents

Class file image Download
<?php

/**
 * Logger interface definition.
 * This interface defines the methods that must be implemented in a Logger class 
 * 
 * @author Marius Zadara <marius@zadara.org>
 * @category org.zadara.marius.logger.interfaces
 * @copyright (C) 2008 Marius Zadara <marius@zadara.org>
 * @license GNU GPL
 * @package org.zadara.marius.logger
 * @see Logger
 */
interface ILogger
{    
    
/**
     * Method used to register a handler.
     * This event handler will be the one to decide if the event gets exported or not
     *
     * @param EventHandler $eventHandler The new event handler
     */
    
public function registerHandler($eventHandler);
    
    
    
/**
     * Method to add an event.
     *
     * @param Event $newEvent The new event to add in logger
     */
    
public function addEvent($newEvent);    
}


?>

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products