This framework is based on log4j see {@link http://jakarta.apache.org/log4j log4j}. * Design, strategies and part of the methods documention are developed by log4j team * (Ceki Gulcu as log4j project founder and * {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}). * * Copyright (C) The Apache Software Foundation. All rights reserved.
* *PHP port, extensions and modifications by VxR. All rights reserved.
*For more information, please see {@link http://www.vxr.it/log4php/}.
* *This software is published under the terms of the LGPL License
* a copy of which has been included with this distribution in the LICENSE file.
*
* @package log4php
*/
/**
* @ignore
*/
if (!defined('LOG4PHP_DIR')) define('LOG4PHP_DIR', dirname(__FILE__));
/**
*/
require_once(LOG4PHP_DIR . '/LoggerLog.php');
/**
* The ALL has the lowest possible rank and is intended to turn on all logging
*/
define('LOGGER_LEVEL_ALL', 0);
/**
* The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
*/
define('LOGGER_LEVEL_DEBUG', 10);
/**
* The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
*/
define('LOGGER_LEVEL_INFO', 20);
/**
* The WARN level designates potentially harmful situations.
*/
define('LOGGER_LEVEL_WARN', 30);
/**
* The ERROR level designates error events that might still allow the application to continue running.
*/
define('LOGGER_LEVEL_ERROR', 40);
/**
* The FATAL level designates very severe error events that will presumably lead the application to abort.
*/
define('LOGGER_LEVEL_FATAL', 50);
/**
* The OFF has the highest possible rank and is intended to turn off logging.
*/
define('LOGGER_LEVEL_OFF', 256);
/**
* Encapsulate Level mechanics
*
* @author VxR