fix bug
This commit is contained in:
@@ -106,7 +106,7 @@ class QueryList
|
||||
*/
|
||||
public static function setLog($handler)
|
||||
{
|
||||
if(class_exists(Logger::class))
|
||||
if(class_exists('Monolog\Logger'))
|
||||
{
|
||||
if(is_string($handler))
|
||||
{
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
"PHP":">=5.3.0",
|
||||
"jaeger/phpquery-single": "^0.9"
|
||||
},
|
||||
"suggest":{
|
||||
"monolog/monolog":"Log support"
|
||||
},
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user