From feb89f506bbcc9bfa6601c231591bda16baf5fa4 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 3 Jul 2012 12:13:11 +0000 Subject: [PATCH] .Core: Removed obsoleted code in Diag.h git-svn-id: svn://ultimatepp.org/upp/trunk@5100 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Diag.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/uppsrc/Core/Diag.h b/uppsrc/Core/Diag.h index 3181e6a66..540a03a82 100644 --- a/uppsrc/Core/Diag.h +++ b/uppsrc/Core/Diag.h @@ -2,20 +2,6 @@ const char LOG_BEGIN = '\x1e'; const char LOG_END = '\x1f'; -/* -void ActivateUsrLog(); -void ActivatePersistentUsrLog(); -bool IsUsrLog(); -Stream& UsrLog(); -Stream& UsrLog(const char *line); -Stream& UsrLogT(const char *line); -Stream& UsrLogT(int indent, const char *line); -void DeleteUsrLog(); - -Stream& BugLog(); -void DeactivateBugLog(); -*/ - enum LogOptions { LOG_FILE = 1, LOG_COUT = 2, LOG_CERR = 4, LOG_DBG = 8, LOG_SYS = 16, LOG_TIMESTAMP = 256, LOG_TIMESTAMP_UTC = 512, LOG_APPEND = 1024, LOG_ROTATE_GZIP = 2048, @@ -33,14 +19,6 @@ void SetUppLog(Stream& log); Stream& VppLog(); 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); void LogHex(const String& s);