<?php
/**
* Event interface definition.
* This interface defines the methods that must be implemented in a Event 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 Event
*/
interface IEvent
{
/**
* Event id getter
* @access public
*/
public function getId();
/**
* Event source getter
* @access public
*/
public function getSource();
/**
* Event category getter
* @access public
*/
public function getCategory();
/**
* Event message getter
* @access public
*/
public function getMessage();
/**
* Event timestamp getter
* @access public
*/
public function getTimestamp();
/**
* Event level getter
* @access public
*/
public function getLevel();
/**
* Event string representation
* @access public
*/
public function __toString();
}
?>
|