diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-03 11:17:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-03 20:18:04 +0200 |
| commit | 689fa55d1529ad88449ca464e9107c4dcc54d1cb (patch) | |
| tree | edd1264941263f2fa25a98d61f98c87876c5b667 /src/lib/stdout_log.cc | |
| parent | 0aabe4060ea4bad7c7caac633aef0737fccff8c2 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/stdout_log.cc')
| -rw-r--r-- | src/lib/stdout_log.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/stdout_log.cc b/src/lib/stdout_log.cc index f4942a7b4..50278906f 100644 --- a/src/lib/stdout_log.cc +++ b/src/lib/stdout_log.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,24 +18,29 @@ */ + #include "stdout_log.h" #include "config.h" #include <iostream> + using std::cout; using std::string; using std::shared_ptr; + StdoutLog::StdoutLog () { set_types (Config::instance()->log_types()); } + StdoutLog::StdoutLog (int types) { set_types (types); } + void StdoutLog::do_log (shared_ptr<const LogEntry> entry) { |
