// $Id$
//
// Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer NETwork research (NET)
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
typedef runtimeLimit_ runtimeLimit; \
typedef compileLimit_ compileLimit; \
static std::string name() { return instance().v_name(); } \
+ unsigned defaultRuntimeLimit() const { return runtimeLimit::value; } \
+ using senf::singleton<stream>::instance; \
private: \
stream() { init(); } \
friend class senf::singleton<stream>; \
Defines a new log area named \a area. The area is defined as a symbol in the current scope.
\hideinitializer
- \ingroup logging
*/
# define SENF_LOG_DEF_AREA(area) SENF_LOG_DEF_AREA_I(area, ; )
/** \brief Define new default log area for the class
- This command declares the containing class to be it's own default log area. It is such like a
- combination of \ref SENF_LOG_DEF_AREA and \ref SENF_LOG_DEFAULT_AREA with a twist.
+ This command declares the containing class to be it's own default log area. It is such like
+ a combination of \ref SENF_LOG_DEF_AREA and \ref SENF_LOG_DEFAULT_AREA with a twist.
+
+ \hideinitializer
*/
# define SENF_LOG_CLASS_AREA() \
SENF_LOG_DEF_AREA_I( \
}; \
}
- /** \brief Default global log stream */
- SENF_LOG_DEF_STREAM(Debug, MESSAGE, DISABLED, DISABLED);
+ /** \brief Default global log stream */
+ SENF_LOG_DEF_STREAM(Debug, MESSAGE, MESSAGE, MESSAGE);
- /** \brief Default global log area */
- SENF_LOG_DEF_AREA_I(DefaultArea,
- std::string v_name() const { return ""; });
+ /** \brief Default global %log area */
+ SENF_LOG_DEF_AREA(DefaultArea);
///\}
///\}