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