$exceptionTraceAsString
$exceptionTraceAsString : bool
Formats a record for use with the MongoDBHandler.
$exceptionTraceAsString : bool
$maxNestingLevel : int
$isLegacyMongoExt : bool
__construct(int $maxNestingLevel = 3, bool $exceptionTraceAsString = true) : mixed
int | $maxNestingLevel | 0 means infinite nesting, the $record itself is level 1, $record['context'] is 2 |
bool | $exceptionTraceAsString | set to false to log exception traces as a sub documents instead of strings |
legacyGetMongoDbDateTime(\DateTimeInterface $value) : \MongoDB\BSON\UTCDateTime
This is needed to support MongoDB Driver v1.19 and below
See https://github.com/mongodb/mongo-php-driver/issues/426
It can probably be removed in 2.1 or later once MongoDB's 1.2 is released and widely adopted
\DateTimeInterface | $value |