diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-24 12:02:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-29 21:19:56 +0100 |
| commit | 36ad4aed6fe65a03f209efae56a6ebbc5da2c35e (patch) | |
| tree | 732a9eba110568b8e0b93f7191a49ea127b2ea3c /src/tools/dcpomatic_batch.cc | |
| parent | 5f1e91943a9ec9709061f1f35ce9ec996a8b5a3f (diff) | |
Explicitly set up Grok logger rather than relying on a static variable.
Diffstat (limited to 'src/tools/dcpomatic_batch.cc')
| -rw-r--r-- | src/tools/dcpomatic_batch.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index e39a71529..590ddafd5 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -31,6 +31,7 @@ #include "lib/config.h" #include "lib/dcpomatic_socket.h" #include "lib/film.h" +#include "lib/grok/context.h" #include "lib/job.h" #include "lib/job_manager.h" #include "lib/make_dcp.h" @@ -498,6 +499,8 @@ class App : public wxApp } } + grk_plugin::setMessengerLogger(new grk_plugin::GrokLogger("[GROK] ")); + return true; } |
