-
Notifications
You must be signed in to change notification settings - Fork 39
doc about loggin utilities #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
| @@ -0,0 +1,144 @@ | |||
| Logging Systems and history | |||
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider changing 'history' to 'History' to match title case formatting.
| Logging Systems and history | |
| Logging Systems and History |
| ~~~~~ | ||
|
|
||
| Developers can read or empty the logs using regular system utilities (tail, cat, ...). | ||
| Throwing an uncactched exception will write contents php-errors.log file. What is logged depend on configuration (see below). |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'uncactched' to 'uncaught' and 'depend' to 'depends'.
| Throwing an uncactched exception will write contents php-errors.log file. What is logged depend on configuration (see below). | |
| Throwing an uncaught exception will write contents of the php-errors.log file. What is logged depends on configuration (see below). |
| try { | ||
| doSomethingThatMayTriggerAnException(); | ||
| } catch (Exception $e) { | ||
| Toolbox::logDebug("Something wrong happend : " . $e->getMessage()); |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'happend' to 'happened'.
| Toolbox::logDebug("Something wrong happend : " . $e->getMessage()); | |
| Toolbox::logDebug("Something wrong happened : " . $e->getMessage()); |
| translations | ||
| acl | ||
| crontasks | ||
| loggin |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The filename and reference 'loggin' should be 'logging' (correct spelling).
| loggin | |
| logging |
doc about loggin utilities