Côme Chilliet
f5c361cf44
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Robin Appelman
eda997f2bd
only log diagnostic events if a treshhold is set
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>
2 years ago
Carl Schwan
7d272c54d0
Add a built-in profiler inside Nextcloud
The webui is provided by a seperate application named profiler
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Julius Härtl
27f3aa5890
Only log events when enabled in debug mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
Julius Härtl
eede608c0e
Add event logging to app loading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
Julius Härtl
0f33453610
Diagnostics event logging to Nextcloud log
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Add config samples
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
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>
4 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Piotr Mrówczyński
9fec4031b3
Adjust query/event logging code in favour of more complex owncloud/diagnostics (#27643)
* Adjust query/event logging code in favour of more complex owncloud/diagnostics
* Add descriptions to IQueryLogger and IEventLogger interfaces
7 years ago
Joas Schilling
0215b004da
Update with robin
8 years ago
Joas Schilling
ba87db3fcc
Fix others
8 years ago
Roeland Jago Douma
e2bff0b35d
Move \OC\Diagnostics to PSR-4
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
9 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 years ago
Robin Appelman
beb1c6ad74
Allow adding events that hapend before the event logger was loaded
9 years ago
Robin Appelman
6e08014781
Rename namespace to Diagnostics
9 years ago
Robin Appelman
d38050cf52
Add an EventLogger interface to allow apps to get a log of the request timeline
9 years ago