Big Update Added Services and Admin
This commit is contained in:
19
docs/Logs.md
Normal file
19
docs/Logs.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Logging
|
||||
|
||||
You can use the logging class to output to a file.
|
||||
|
||||
|
||||
use ```$log->info(The Message');```1
|
||||
|
||||
Logging levels are:
|
||||
```
|
||||
'DEBUG' => 0,
|
||||
'INFO' => 1,
|
||||
'WARNING' => 2,
|
||||
'ERROR' => 3,
|
||||
];
|
||||
```
|
||||
|
||||
It's recommended that production is set to ERROR.
|
||||
You set the log level in /App/config.php under 'loglevel' => 'ERROR'
|
||||
If you are using CORXN a health check is run every 30 seconds which would fill the log file with info.
|
||||
Reference in New Issue
Block a user