SENF_LOG( (senf::log::Debug)(senf::log::NOTICE)(FroblizerArea)("The log message") );
\endcode
- The argument is comprised of a sequence of parameters and the %log message itself.
+ The argument is comprised of a sequence of parameters and the %log message itself.
The parameters are
- the <em>%log stream</em>,
- the <em>%log area</em>,
- the <em>%log level</em>.
-
+
These parameters are optional and may be specified <i>in arbitrary order</i> (with the %log
message always being the last sequence element) and even multiple times in the parameter
sequence. If some argument type occurs multiple times, the last occurrence wins. If any one of
The %log level senf::log::NONE is special. If the %log level is set to this value, the %log level
will be set from the stream provided default value.
-
+
All these parameters must be <em>compile time constants</em> (they are all types, so it's
difficult for them to be something else).