change construct definition in Tlog

This commit is contained in:
Manuel Raynaud
2013-01-19 22:12:15 +01:00
parent a877d003c5
commit f3f8793074
2 changed files with 43 additions and 44 deletions

View File

@@ -23,6 +23,7 @@
namespace Thelia\Log;
use Thelia\Model\ConfigQuery;
use Psr\Log\LoggerInterface;
/**
*
@@ -44,12 +45,12 @@ class Tlog Implements TlogInterface
const VAR_SHOW_REDIRECT = "tlog_show_redirect";
// all level of trace
const TRACE = 1;
const DEBUG = 2;
const WARNING = 3;
const INFO = 4;
const ERROR = 5;
const FATAL = 6;
const TRACE = 100;
const DEBUG = 200;
const WARNING = 300;
const INFO = 400;
const ERROR = 500;
const FATAL = 600;
const MUET = PHP_INT_MAX;
// default values
@@ -81,9 +82,7 @@ class Tlog Implements TlogInterface
/**
*
*/
private function __construct()
{
}
private function __construct(){}
/**
*