mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-29 16:00:27 +02:00
Build tweaks
This commit is contained in:
@@ -34,7 +34,7 @@ class MongoDBFormatter implements FormatterInterface
|
||||
$this->maxNestingLevel = max($maxNestingLevel, 0);
|
||||
$this->exceptionTraceAsString = $exceptionTraceAsString;
|
||||
|
||||
$this->isLegacyMongoExt = version_compare(phpversion('mongodb'), '1.1.9', '<=');
|
||||
$this->isLegacyMongoExt = extension_loaded('mongodb') && version_compare(phpversion('mongodb'), '1.1.9', '<=');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user