X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger.hh;h=7b568e87c4ddba1a31fef4677315188cb046d7ca;hb=47368f306a577d1e46df69a7f729bd3893cbe5e7;hp=492dc0a0b748a86edd2da4c1b48121ba397dafc1;hpb=98f3f38c5872d26fcf544a9d28efe0518e3895e2;p=senf.git
diff --git a/Utils/Logger.hh b/Utils/Logger.hh
index 492dc0a..7b568e8 100644
--- a/Utils/Logger.hh
+++ b/Utils/Logger.hh
@@ -41,7 +41,7 @@
\endcode
The last sequence element always is the log message. Before that we have a number of log
- parameters in arbitrary order. Since giving all the parameters in every log message is
+ parameters in arbitrary order. Since giving all the parameters in every log message is
to verbose, there are two helpful constructs to reduce the verbosity. Using \ref SENF_LOG_DEFAULTS it
is possible to define the default logging parameters to be used within a given scope. Using
\ref SENF_LOG_DEF_ALIAS you can define an alias (which is a scoped symbol) as an arbitrary
@@ -131,9 +131,9 @@ namespace senf {
This macro will write it's last argument to the log stream. The last argument must be an
expression which will be placed after a streaming \c operator<< (like
- some-log-sttream \c << last-macro-arg).
+ some-log-sttream \c << last-macro-arg).
\code
- BOOST_LOG((parameters...)("log message " << args << ...));
+ SENF_LOG((parameters...)("log message " << args << ...));
\endcode
\hideinitializer
@@ -147,7 +147,7 @@ namespace senf {
This macro is like SENF_LOG, however instead of writing a simple message, this macro allows
to specify a complete block of code to be executed if the log message is enabled.
\code
- BOOST_LOG_BLOCK((parameters...)({
+ SENF_LOG_BLOCK((parameters...)({
// arbitrary code using 'log' for logging
log << "log message";
}));
@@ -166,7 +166,7 @@ namespace senf {
Sets the default log parameters for the current scope
\code
- BOOST_LOG_DEFAULTS((parameters...));
+ SENF_LOG_DEFAULTS((parameters...));
\endcode
\hideinitializer
@@ -216,4 +216,6 @@ namespace senf {
// c-file-style: "senf"
// indent-tabs-mode: nil
// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: