Uncommon logger levels in Friendica (#5453)
* "normal" is an uncommon logger level: - changed LOGGER_NORMAL -> LOGGER_INFO - added LOGGER_WARNING (a common logger level) * Used constants instead of values (MrPetovan)
This commit is contained in:
parent
a202962f03
commit
c17adaf333
7 changed files with 29 additions and 25 deletions
11
boot.php
11
boot.php
|
@ -113,11 +113,12 @@ define('SSL_POLICY_SELFSIGN', 2);
|
|||
* log levels
|
||||
* @{
|
||||
*/
|
||||
define('LOGGER_NORMAL', 0);
|
||||
define('LOGGER_TRACE', 1);
|
||||
define('LOGGER_DEBUG', 2);
|
||||
define('LOGGER_DATA', 3);
|
||||
define('LOGGER_ALL', 4);
|
||||
define('LOGGER_WARNING', 0);
|
||||
define('LOGGER_INFO', 1);
|
||||
define('LOGGER_TRACE', 2);
|
||||
define('LOGGER_DEBUG', 3);
|
||||
define('LOGGER_DATA', 4);
|
||||
define('LOGGER_ALL', 5);
|
||||
/* @}*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue