... | @@ -2144,6 +2144,15 @@ int main(int ac, char *av[]) { |
... | @@ -2144,6 +2144,15 @@ int main(int ac, char *av[]) { |
|
}
|
|
}
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Side-note: To configure the logging fully programmatically, without a file, you would do:
|
|
|
|
```plaintext
|
|
|
|
::elt::log::CiiLogManager::Configure({
|
|
|
|
{"log4cplus.appender.ConsoleAppender", "log4cplus::ConsoleAppender"},
|
|
|
|
{"log4cplus.appender.ConsoleAppender.layout", "elt::log::layout::CiiSimpleLayout"},
|
|
|
|
{"log4cplus.rootLogger", "FATAL, ConsoleAppender"},
|
|
|
|
});
|
|
|
|
```
|
|
|
|
|
|
**List of Loggers** Generally, to learn about all loggers that are active in your application, add this (temporarily) to your application:
|
|
**List of Loggers** Generally, to learn about all loggers that are active in your application, add this (temporarily) to your application:
|
|
|
|
|
|
```plaintext
|
|
```plaintext
|
... | | ... | |