File: src/Generics/Logger/ExceptionLogger.php

Recommend this page to a friend!
  Classes of Maik Greubel  >  PHP Generics  >  src/Generics/Logger/ExceptionLogger.php  >  Download  
File: src/Generics/Logger/ExceptionLogger.php
Role: Class source
Content type: text/plain
Description: Exception logger interface
Class: PHP Generics
Framework for accessing streams, sockets and logs
Author: By
Last change: Remove unused imports warnings
Date: 3 years ago
Size: 654 bytes


Class file image Download

 * This file is part of the PHP Generics package.
 * @package Generics
namespace Generics\Logger;

use \

 * This interface describes an implemention for a
 * logger which is capable to log exceptions.
 * @author Maik Greubel <>
interface ExceptionLogger

     * Log an exception
     * The exception will be logged according its severity.
     * ErrorException will be logged as LogLevel::Error
     * RuntimeExcpetion will be logged as LogLevel::
     * @param Exception $ex
     * The exception to log.
public function logException(Exception $ex);

For more information send a message to info at phpclasses dot org.