mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
set correct log level for console
This commit is contained in:
parent
64b2a32c9a
commit
3eeee1b08d
2 changed files with 9 additions and 1 deletions
6
Log.h
6
Log.h
|
@ -95,6 +95,12 @@ inline void StopLog ()
|
|||
}
|
||||
}
|
||||
|
||||
inline void SetLogLevel (const std::string& level)
|
||||
{
|
||||
if (g_Log)
|
||||
g_Log->SetLogLevel(level);
|
||||
}
|
||||
|
||||
template<typename TValue>
|
||||
void LogPrint (std::stringstream& s, TValue arg)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue