summaryrefslogtreecommitdiff
path: root/src/lib/stdout_log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/stdout_log.cc')
-rw-r--r--src/lib/stdout_log.cc7
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)
{