Browse Source

Update Log.h

cl-refactor
gluk256 10 years ago
parent
commit
9e353e3d7a
  1. 1
      libdevcore/Log.h

1
libdevcore/Log.h

@ -60,6 +60,7 @@ extern std::function<void(std::string const&, char const*)> g_logPost;
extern std::map<std::type_info const*, bool> g_logOverride;
/// Temporary changes system's verbosity for specific function. Restores the old verbosity when function returns.
/// Not thread-safe, use with caution!
struct VerbosityHolder
{
VerbosityHolder(int _temporaryValue): oldLogVerbosity(g_logVerbosity) { g_logVerbosity = _temporaryValue; }

Loading…
Cancel
Save