diff --git a/uppsrc/Core/Debug.cpp b/uppsrc/Core/Debug.cpp index be6a0a878..9bbd05c42 100644 --- a/uppsrc/Core/Debug.cpp +++ b/uppsrc/Core/Debug.cpp @@ -91,6 +91,11 @@ LogStream& StdLogStream() return *s; } +void CloseStdLog() +{ + StdLogStream().Close(); +} + void StdLogSetup(dword options) { StdLogStream().SetOptions(options); diff --git a/uppsrc/Core/Diag.h b/uppsrc/Core/Diag.h index 02ead7d2e..c8db6fc53 100644 --- a/uppsrc/Core/Diag.h +++ b/uppsrc/Core/Diag.h @@ -69,6 +69,7 @@ void SetVppLog(Stream& log); void SetVppLogName(const String& file); void SetVppLogSizeLimit(int filesize); void SetVppLogNoDeleteOnStartup(); +void CloseStdLog(); void HexDump(Stream& s, const void *ptr, int size, int maxsize = INT_MAX);