aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Diagnostics
Commit message (Collapse)AuthorAgeFilesLines
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move CappedMemoryCache to OCPCarl Schwan2022-07-141-1/+1
| | | | | | | | This is an helpful helper that should be used in more place than just server and this is already the case with groupfodlers, deck, user_oidc and more using it, so let's make it public Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* only log diagnostic events if a treshhold is setRobin Appelman2022-05-131-1/+1
| | | | | | this prevents log spam and it's rare that you actually want to very short events logged anyway Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add stricter psalm type for CappedMemoryCacheCarl Schwan2022-05-121-10/+6
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add a built-in profiler inside NextcloudCarl Schwan2022-04-041-1/+2
| | | | | | The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Only log events when enabled in debug modeJulius Härtl2022-03-111-2/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add event logging to app loadingJulius Härtl2022-02-281-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Diagnostics event logging to Nextcloud logJulius Härtl2022-02-282-5/+62
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Add config samples Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-044-4/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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-054-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersMorris Jobke2017-11-063-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Run phan over code baseLukas Reschke2017-07-191-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix missing conflict resolutionsJoas Schilling2017-04-261-4/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust query/event logging code in favour of more complex ↵Piotr Mrówczyński2017-04-265-117/+68
| | | | | | | owncloud/diagnostics (#27643) * Adjust query/event logging code in favour of more complex owncloud/diagnostics * Add descriptions to IQueryLogger and IEventLogger interfaces
* Cap the number of queries we save in the query loggerRobin Appelman2016-11-031-2/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add stacktrace to query loggerRobin Appelman2016-08-242-2/+21
|
* Update with robinJoas Schilling2016-07-216-6/+6
|
* Fix othersJoas Schilling2016-07-216-6/+12
|
* Move \OC\Diagnostics to PSR-4Roeland Jago Douma2016-04-196-0/+392