diff --git a/libdevcore/Log.h b/libdevcore/Log.h index f104caccd..a4011fc0e 100644 --- a/libdevcore/Log.h +++ b/libdevcore/Log.h @@ -60,6 +60,7 @@ extern std::function g_logPost; extern std::map 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; }