Download the PHP package nextcloud/lognormalizer without Composer
On this page you can find all versions of the php package nextcloud/lognormalizer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nextcloud/lognormalizer
More information about nextcloud/lognormalizer
Files in nextcloud/lognormalizer
Download nextcloud/lognormalizer
More information about nextcloud/lognormalizer
Files in nextcloud/lognormalizer
Vendor nextcloud
Package lognormalizer
Short Description Parses variables and converts them to string so that they can be logged
License AGPL-3.0
Homepage https://github.com/interfasys/lognormalizer
Package lognormalizer
Short Description Parses variables and converts them to string so that they can be logged
License AGPL-3.0
Homepage https://github.com/interfasys/lognormalizer
Keywords lognormalizer
Please rate this library. Is it a good library?
Informations about the package lognormalizer
Log Normalizer
Parses variables and converts them to string so that they can be logged
Based on the Monolog formatter/normalizer.
How to use
Initialisation in your class
The constructor supports the following optional arguments
int $maxRecursionDepth
: The maximum depth at which you want to go in objects and arraysint $maxArrayItems
: The maximum number of elements you want to show, when parsing an array or an objectstring $dateFormat
: The format to apply to dates
Format variables before logging them
This is what your logging function could look like
And you would call it like this from another class
Convert a single variable to a string
All versions of lognormalizer with dependencies
PHP Build Version
Package Version
Requires
ext-json Version
*
php Version >=7.2.0
php Version >=7.2.0
The package nextcloud/lognormalizer contains the following files
Loading the files please wait ....