<?php
/**
* Interface used to log events in different classes of the library.
*
* Feel free to implement your own logger with PHPTracker_Logger_Interface.
*/
interface PHPTracker_Logger_Interface
{
/**
* Initializes the object with the config class.
*
* @param PHPTracker_Config_Interface $config
*/
public function __construct( PHPTracker_Config_Interface $config = null );
/**
* Method to save non-error text message.
*
* @param string $message
*/
public function logMessage( $message );
/**
* Method to save text message represening error.
*
* @param string $message
*/
public function logError( $message );
}
?>