Skip to content
Snippets Groups Projects
Commit 0382d2ab authored by jkaeber's avatar jkaeber
Browse files

Access the ConsoleTarget singleton via instance()

parent 1b5fbea9
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
int main(int, char **) int main(int, char **)
{ {
// Set up the routing targets // Set up the routing targets
senf::log::ConsoleTarget console; senf::log::ConsoleTarget & console (senf::log::ConsoleTarget::instance());
senf::log::FileTarget logfile ("my.log"); senf::log::FileTarget logfile ("my.log");
// Debug messages go to the console // Debug messages go to the console
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment