diff options
author | Arnon Gilboa <agilboa@redhat.com> | 2011-11-21 09:48:50 +0200 |
---|---|---|
committer | Arnon Gilboa <agilboa@redhat.com> | 2011-11-21 14:10:55 +0200 |
commit | 017482d779ed087326f40d6379a990de5d65234d (patch) | |
tree | 4d39dffc49ff4cebef3713da6740409774ed69e4 /common/vdlog.cpp | |
parent | 28d7028278f8ca061c6dee9934901eaa035ef7bb (diff) |
vdlog: change log times to human readable date & time rhbz#672828
-use RHEV log format
-add log levels & macros
-remove LOG_ENABLED ifdefs
Diffstat (limited to 'common/vdlog.cpp')
-rw-r--r-- | common/vdlog.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/vdlog.cpp b/common/vdlog.cpp index 1001de3..8ece384 100644 --- a/common/vdlog.cpp +++ b/common/vdlog.cpp @@ -40,7 +40,6 @@ VDLog::~VDLog() VDLog* VDLog::get(TCHAR* path) { -#ifdef LOG_ENABLED if (_log || !path) { return _log; } @@ -64,9 +63,6 @@ VDLog* VDLog::get(TCHAR* path) } _log = new VDLog(handle); return _log; -#else - return NULL; -#endif } void VDLog::printf(const char* format, ...) |