summaryrefslogtreecommitdiff
path: root/src/include/xblog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/xblog.h')
-rwxr-xr-xsrc/include/xblog.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/src/include/xblog.h b/src/include/xblog.h
deleted file mode 100755
index e78f476..0000000
--- a/src/include/xblog.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/* xblog.h
-
-XBase64 Software Library
-
-Copyright (c) 1997,2003,2014,2022 Gary A Kunkel
-
-The xb64 software library is covered under the terms of the GPL Version 3, 2007 license.
-
-Email Contact:
-
- XDB-devel@lists.sourceforge.net
- XDB-users@lists.sourceforge.net
-
-*/
-
-#ifndef __XB_XBLOG_H__
-#define __XB_XBLOG_H__
-
-#ifdef CMAKE_COMPILER_IS_GNUCC
-#pragma interface
-#endif
-
-namespace xb{
-
-#ifdef XB_LOGGING_SUPPORT
-
-//! @brief xbLog class.
-/*!
-The xbLog class handles message logging functions.
-
-If logging is enabled in an application, error messages are printed
-in the log file.
-
-Once a logfile reaches a predefined size, the logfile is closed, renamed
-and opened.
-
-The logging functions can be accessed through the xbXBase class.
-Each application has one of those.
-*/
-
-class XBDLLEXPORT xbLog : public xbFile {
- public:
- xbLog();
- xbLog( const xbString &sLogFileName );
- ~xbLog();
-
- xbInt16 LogClose ();
- xbInt16 LogGetStatus ();
- xbInt16 LogOpen ();
- void LogSetStatus ( xbBool bLogStatus );
- void LogSetLogSize( size_t lSize ); // { LogSize = size; }
- xbInt16 LogWrite ( const xbString &LogEntry, xbInt16 iOutputOption = 0 );
- xbInt16 LogWriteBytes( xbUInt32 lByteCnt, const char *p );
-
- private:
- xbBool bLoggingStatus; // false = logging off
- // true = logging on
- size_t lLogSize;
- xbInt16 iShareMode;
-};
-
-#endif // XB_LOGGING_SUPPORT
-} // namespace
-#endif // XB_XBLOG_H__
-
-