Engauge Digitizer  2
Category.cpp
Go to the documentation of this file.
1 #include "log4cpp/Category.hh"
2 
3 namespace log4cpp {
4 
5  Category *Category::m_category = nullptr;
6 
8  {
9  }
10 
12  {
13  }
14 
16  {
17  }
18 
20  {
21  return Priority::NOTSET;
22  }
23 
25  {
26  if (m_category == nullptr) {
27  m_category = new Category();
28  }
29 
30  return *m_category;
31  }
32 
34  {
35  return CategoryStream (*this, Priority::NOTSET);
36  }
37 
39  {
40  }
41 }
Noop class that mimics class of the same name in log4cpp library.
Definition: Category.hh:14
Priority::Value getPriority() const
Returns unused priority.
Definition: Category.cpp:19
Streaming of simple types and objects to a category.
static Category & getRoot()
Noop method to get root.
Definition: Category.cpp:24
int Value
Priority level.
Definition: Priority.hh:24
void setPriority(Priority::Value priority)
Noop method to set priority.
Definition: Category.cpp:38
CategoryStream getStream(Priority::Value value)
Returns a stream.
Definition: Category.cpp:33
Noop class that mimics the same class in the log4cpp library.
Definition: Appender.hh:7
virtual ~Category()
Definition: Category.cpp:11
void addAppender(Appender *appender)
Noop method to add an Appender.
Definition: Category.cpp:15