.Core: Removed obsoleted code in Diag.h

git-svn-id: svn://ultimatepp.org/upp/trunk@5100 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-07-03 12:13:11 +00:00
parent 5b43c3021b
commit feb89f506b

View file

@ -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);