change construct definition in Tlog
This commit is contained in:
70
core/composer.lock
generated
70
core/composer.lock
generated
@@ -163,17 +163,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/class-loader",
|
"name": "symfony/class-loader",
|
||||||
"version": "v2.1.6",
|
"version": "v2.1.7",
|
||||||
"target-dir": "Symfony/Component/ClassLoader",
|
"target-dir": "Symfony/Component/ClassLoader",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/ClassLoader",
|
"url": "https://github.com/symfony/ClassLoader",
|
||||||
"reference": "v2.1.6"
|
"reference": "v2.1.7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://github.com/symfony/ClassLoader/archive/v2.1.6.zip",
|
"url": "https://github.com/symfony/ClassLoader/archive/v2.1.7.zip",
|
||||||
"reference": "v2.1.6",
|
"reference": "v2.1.7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -182,7 +182,7 @@
|
|||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/finder": "2.1.*"
|
"symfony/finder": "2.1.*"
|
||||||
},
|
},
|
||||||
"time": "2012-12-06 10:00:55",
|
"time": "2013-01-09 08:51:07",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
@@ -208,23 +208,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/config",
|
"name": "symfony/config",
|
||||||
"version": "v2.1.6",
|
"version": "v2.1.7",
|
||||||
"target-dir": "Symfony/Component/Config",
|
"target-dir": "Symfony/Component/Config",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/Config",
|
"url": "https://github.com/symfony/Config",
|
||||||
"reference": "v2.1.6"
|
"reference": "v2.1.7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://github.com/symfony/Config/archive/v2.1.6.zip",
|
"url": "https://github.com/symfony/Config/archive/v2.1.7.zip",
|
||||||
"reference": "v2.1.6",
|
"reference": "v2.1.7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
"time": "2012-12-11 10:40:22",
|
"time": "2013-01-09 08:51:07",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
@@ -250,23 +250,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/console",
|
"name": "symfony/console",
|
||||||
"version": "v2.1.6",
|
"version": "v2.1.7",
|
||||||
"target-dir": "Symfony/Component/Console",
|
"target-dir": "Symfony/Component/Console",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/Console",
|
"url": "https://github.com/symfony/Console",
|
||||||
"reference": "v2.1.6"
|
"reference": "v2.1.7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://github.com/symfony/Console/archive/v2.1.6.zip",
|
"url": "https://github.com/symfony/Console/archive/v2.1.7.zip",
|
||||||
"reference": "v2.1.6",
|
"reference": "v2.1.7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
"time": "2012-12-13 17:42:00",
|
"time": "2013-01-17 15:20:05",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
@@ -292,17 +292,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/dependency-injection",
|
"name": "symfony/dependency-injection",
|
||||||
"version": "v2.1.6",
|
"version": "v2.1.7",
|
||||||
"target-dir": "Symfony/Component/DependencyInjection",
|
"target-dir": "Symfony/Component/DependencyInjection",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/DependencyInjection",
|
"url": "https://github.com/symfony/DependencyInjection",
|
||||||
"reference": "v2.1.6"
|
"reference": "v2.1.7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://github.com/symfony/DependencyInjection/archive/v2.1.6.zip",
|
"url": "https://github.com/symfony/DependencyInjection/archive/v2.1.7.zip",
|
||||||
"reference": "v2.1.6",
|
"reference": "v2.1.7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -316,7 +316,7 @@
|
|||||||
"symfony/yaml": "2.1.*",
|
"symfony/yaml": "2.1.*",
|
||||||
"symfony/config": "2.1.*"
|
"symfony/config": "2.1.*"
|
||||||
},
|
},
|
||||||
"time": "2012-12-06 10:00:55",
|
"time": "2013-01-17 21:21:51",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
@@ -342,17 +342,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/event-dispatcher",
|
"name": "symfony/event-dispatcher",
|
||||||
"version": "v2.1.6",
|
"version": "v2.1.7",
|
||||||
"target-dir": "Symfony/Component/EventDispatcher",
|
"target-dir": "Symfony/Component/EventDispatcher",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/EventDispatcher",
|
"url": "https://github.com/symfony/EventDispatcher",
|
||||||
"reference": "v2.1.6"
|
"reference": "v2.1.7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://github.com/symfony/EventDispatcher/archive/v2.1.6.zip",
|
"url": "https://github.com/symfony/EventDispatcher/archive/v2.1.7.zip",
|
||||||
"reference": "v2.1.6",
|
"reference": "v2.1.7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -365,7 +365,7 @@
|
|||||||
"symfony/dependency-injection": "2.1.*",
|
"symfony/dependency-injection": "2.1.*",
|
||||||
"symfony/http-kernel": "2.1.*"
|
"symfony/http-kernel": "2.1.*"
|
||||||
},
|
},
|
||||||
"time": "2012-12-06 10:00:55",
|
"time": "2013-01-11 00:31:43",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
@@ -391,23 +391,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/http-foundation",
|
"name": "symfony/http-foundation",
|
||||||
"version": "v2.1.6",
|
"version": "v2.1.7",
|
||||||
"target-dir": "Symfony/Component/HttpFoundation",
|
"target-dir": "Symfony/Component/HttpFoundation",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/HttpFoundation",
|
"url": "https://github.com/symfony/HttpFoundation",
|
||||||
"reference": "v2.1.6"
|
"reference": "v2.1.7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://github.com/symfony/HttpFoundation/archive/v2.1.6.zip",
|
"url": "https://github.com/symfony/HttpFoundation/archive/v2.1.7.zip",
|
||||||
"reference": "v2.1.6",
|
"reference": "v2.1.7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
"time": "2012-12-14 21:03:29",
|
"time": "2013-01-11 00:31:43",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
@@ -496,17 +496,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/routing",
|
"name": "symfony/routing",
|
||||||
"version": "v2.1.6",
|
"version": "v2.1.7",
|
||||||
"target-dir": "Symfony/Component/Routing",
|
"target-dir": "Symfony/Component/Routing",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/Routing",
|
"url": "https://github.com/symfony/Routing",
|
||||||
"reference": "v2.1.6"
|
"reference": "v2.1.7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://github.com/symfony/Routing/archive/v2.1.6.zip",
|
"url": "https://github.com/symfony/Routing/archive/v2.1.7.zip",
|
||||||
"reference": "v2.1.6",
|
"reference": "v2.1.7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -523,7 +523,7 @@
|
|||||||
"symfony/yaml": "2.1.*",
|
"symfony/yaml": "2.1.*",
|
||||||
"doctrine/common": ">=2.2,<2.4-dev"
|
"doctrine/common": ">=2.2,<2.4-dev"
|
||||||
},
|
},
|
||||||
"time": "2012-12-11 10:40:22",
|
"time": "2013-01-09 08:51:07",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
namespace Thelia\Log;
|
namespace Thelia\Log;
|
||||||
|
|
||||||
use Thelia\Model\ConfigQuery;
|
use Thelia\Model\ConfigQuery;
|
||||||
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -44,12 +45,12 @@ class Tlog Implements TlogInterface
|
|||||||
const VAR_SHOW_REDIRECT = "tlog_show_redirect";
|
const VAR_SHOW_REDIRECT = "tlog_show_redirect";
|
||||||
|
|
||||||
// all level of trace
|
// all level of trace
|
||||||
const TRACE = 1;
|
const TRACE = 100;
|
||||||
const DEBUG = 2;
|
const DEBUG = 200;
|
||||||
const WARNING = 3;
|
const WARNING = 300;
|
||||||
const INFO = 4;
|
const INFO = 400;
|
||||||
const ERROR = 5;
|
const ERROR = 500;
|
||||||
const FATAL = 6;
|
const FATAL = 600;
|
||||||
const MUET = PHP_INT_MAX;
|
const MUET = PHP_INT_MAX;
|
||||||
|
|
||||||
// default values
|
// default values
|
||||||
@@ -81,9 +82,7 @@ class Tlog Implements TlogInterface
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private function __construct()
|
private function __construct(){}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user