diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-11 07:25:42 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:47 -0400 |
commit | 4de38a916a0bb4c5709e55cb20f75789c76a0cbd (patch) | |
tree | c9f52d204878d5b845c44f303c97986c9b475fa0 | |
parent | 28c32fa8ef774d4df21c7c2f0f31b1a980208c1a (diff) | |
download | fork-ledger-4de38a916a0bb4c5709e55cb20f75789c76a0cbd.tar.gz fork-ledger-4de38a916a0bb4c5709e55cb20f75789c76a0cbd.tar.bz2 fork-ledger-4de38a916a0bb4c5709e55cb20f75789c76a0cbd.zip |
Guarded reference to _log_level.
-rw-r--r-- | src/session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h index 40fb5c4a..8b72ae42 100644 --- a/src/session.h +++ b/src/session.h @@ -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 } // |