PHP Classes

File: _interfaces/ILogger.intf.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Marius Zadara  >  Logger  >  _interfaces/ILogger.intf.php  >  Download  
File: _interfaces/ILogger.intf.php
Role: Class source
Content type: text/plain
Description: Logger interface
Class: Logger
Filter and export data of application events
Author: By
Last change:
Date: 7 years ago
Size: 804 bytes


Class file image Download

 * Logger interface definition.
 * This interface defines the methods that must be implemented in a Logger class
 * @author Marius Zadara <>
 * @category org.zadara.marius.logger.interfaces
 * @copyright (C) 2008 Marius Zadara <>
 * @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);