Skip to content

Commit

Permalink
Fix #16061: Added LOG_ALL constant
Browse files Browse the repository at this point in the history
This enables full use of bitwise operators to set the log channels
($g_log_level) in config_inc.php.
  • Loading branch information
dregad committed Jun 14, 2013
1 parent cec4549 commit 122bc9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/constant_inc.php
Expand Up @@ -499,7 +499,8 @@
define( 'CUSTOM_FIELD_TYPE_FILE', 4 );

# system logging
# logging levels, can be OR'd together
# The logging levels can be combined using bitwise operators
define( 'LOG_ALL', ~0 ); # All possible log levels
define( 'LOG_NONE', 0 ); # no logging
define( 'LOG_EMAIL', 1 ); # all emails sent
define( 'LOG_EMAIL_RECIPIENT', 2 ); # details of email recipient determination
Expand Down

0 comments on commit 122bc9e

Please sign in to comment.