summaryrefslogtreecommitdiffstats
path: root/tests/lib/LoggerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* revert Log's dependency to SystemConfig to work during InstallationArthur Schiwon2018-04-261-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* offer API to create own File log. admin_audit makes use of itArthur Schiwon2018-04-261-4/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* destaticfy Log classesArthur Schiwon2018-04-261-26/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move log constants to ILoggerArthur Schiwon2018-04-261-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Log exceptions as nested array instead of encoded jsonRobin Appelman2018-04-101-5/+20
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Pass log level to log reportersMorris Jobke2017-11-271-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Pass the exception context to the crash reporterChristoph Wurst2017-11-141-4/+4
| | | | | | | | This should allow better reports as often the app id is passed as context. While this is not used right now, I'd like to have this for NC13 as adding it later will break the interface for existing apps Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a mechanism to register crach reportersChristoph Wurst2017-11-141-12/+35
| | | | | | | | This adds a crash reporter registry, which is meant for third party apps to hook into the error logging/reporting chain. This way, external tools like Sentry can be used to track and aggregate system crashes. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unit tests for #6977Joas Schilling2017-10-271-0/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Better fallback for unknown log typesJoas Schilling2017-01-101-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add testsJoas Schilling2017-01-091-0/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add testArthur Schiwon2016-08-221-0/+16
|
* Do not log token or challenge with exception stacktrace (#25026)Joas Schilling2016-06-081-3/+3
| | | | | | * Make the filtering better readable * Add some more methods to the sensitive list
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+125
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader