aboutsummaryrefslogtreecommitdiff
path: root/dep/include/sockets/StdLog.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-12 17:09:15 -0600
committermegamage <none@none>2009-02-12 17:09:15 -0600
commit6aee5fcbe7473a3cbac12b7e8482a7b98bef8be3 (patch)
tree91ec91d5c19eba9c2fe0e84b1c9dc7047a3de80e /dep/include/sockets/StdLog.h
parent2d2f433b4de1c35b22aaf07854fc0ee11fcb350d (diff)
parentf385747164c3fb278c92ef46fbd6c3da6590bbf0 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'dep/include/sockets/StdLog.h')
-rw-r--r--dep/include/sockets/StdLog.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/dep/include/sockets/StdLog.h b/dep/include/sockets/StdLog.h
index c07037bbd4f..2d2a6705ce0 100644
--- a/dep/include/sockets/StdLog.h
+++ b/dep/include/sockets/StdLog.h
@@ -1,6 +1,6 @@
/** \file StdLog.h
- ** \date 2004-06-01
- ** \author grymse@alhem.net
+ ** \date 2004-06-01
+ ** \author grymse@alhem.net
**/
/*
Copyright (C) 2004-2007 Anders Hedstrom
@@ -8,7 +8,7 @@ Copyright (C) 2004-2007 Anders Hedstrom
This library is made available under the terms of the GNU GPL.
If you would like to use this library in a closed-source application,
-a separate license agreement is available. For information about
+a separate license agreement is available. For information about
the closed-source license agreement for the C++ sockets library,
please visit http://www.alhem.net/Sockets/license.html and/or
email license@alhem.net.
@@ -40,10 +40,10 @@ namespace SOCKETS_NAMESPACE {
/** error level enum. */
typedef enum
{
- LOG_LEVEL_WARNING = 0,
- LOG_LEVEL_ERROR,
- LOG_LEVEL_FATAL,
- LOG_LEVEL_INFO
+ LOG_LEVEL_WARNING = 0,
+ LOG_LEVEL_ERROR,
+ LOG_LEVEL_FATAL,
+ LOG_LEVEL_INFO
} loglevel_t;
@@ -51,18 +51,18 @@ class ISocketHandler;
class Socket;
/** \defgroup logging Log help classes */
-/** Log class interface.
- \ingroup logging */
+/** Log class interface.
+ \ingroup logging */
class StdLog
{
public:
- virtual ~StdLog() {}
+ virtual ~StdLog() {}
- virtual void error(ISocketHandler *,Socket *,
- const std::string& user_text,
- int err,
- const std::string& sys_err,
- loglevel_t = LOG_LEVEL_WARNING) = 0;
+ virtual void error(ISocketHandler *,Socket *,
+ const std::string& user_text,
+ int err,
+ const std::string& sys_err,
+ loglevel_t = LOG_LEVEL_WARNING) = 0;
};