Guarded reference to _log_level.
This commit is contained in:
parent
28c32fa8ef
commit
4de38a916a
1 changed files with 2 additions and 0 deletions
|
|
@ -194,8 +194,10 @@ class session_t : public xml::xpath_t::scope_t
|
|||
void option_debug(value_t&, xml::xpath_t::scope_t * locals) {}
|
||||
|
||||
void option_verbose(value_t&) {
|
||||
#if defined(LOGGING_ON)
|
||||
if (_log_level < LOG_INFO)
|
||||
_log_level = LOG_INFO;
|
||||
#endif
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue