aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log/LogFactory.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Remove deprecated `ILogger` logging functionschore/remove-iloggerFerdinand Thiessen2024-09-191-6/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-21/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Refactors lib/private/Log.Faraz Samapoor2023-06-281-39/+19
| | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* composer run cs:fixCôme Chilliet2023-01-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(logging): Fix array to string conversion in errorlog writerChristoph Wurst2022-12-191-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to get custom loggers for syslog, errorlog and systemdlog tooJoas Schilling2022-01-191-2/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Migrate custom loggers to PSRChristoph Wurst2021-02-111-0/+8
| | | | | | This will help phase out the deprecated ILogger interface. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Added a logger for systemd/journaldJohannes Ernst2018-06-291-0/+3
| | | | | | Added a unit test Signed-off-by: Johannes Ernst <jernst@indiecomputing.com>
* use SystemConfig, less dependencies, and not publicly neededArthur Schiwon2018-04-261-15/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* revert Log's dependency to SystemConfig to work during InstallationArthur Schiwon2018-04-261-1/+8
| | | | 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-6/+17
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* destaticfy Log classesArthur Schiwon2018-04-261-0/+66
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>