diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-20 12:20:00 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-20 12:20:00 +0200 |
| commit | 25eb7aa723af004162fc7f95995df250c4e4571b (patch) | |
| tree | 0f587cca9af4d44afa37b2bef78cc928b6012856 | |
| parent | f706bbb9afd10472e81a051cd5db601d6404377c (diff) | |
Add some logging to the KDM creator.
| -rw-r--r-- | src/tools/dcpomatic_kdm.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 98d701fab..7a8d7cf34 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -38,8 +38,10 @@ #include "lib/compose.hpp" #include "lib/config.h" #include "lib/cross.h" +#include "lib/dcpomatic_log.h" #include "lib/dkdm_wrapper.h" #include "lib/exceptions.h" +#include "lib/file_log.h" #include "lib/job_manager.h" #include "lib/kdm_with_metadata.h" #include "lib/screen.h" @@ -203,6 +205,8 @@ public: _export_dkdm->Bind (wxEVT_BUTTON, bind (&DOMFrame::export_dkdm_clicked, this)); setup_sensitivity (); + + dcpomatic_log = make_shared<FileLog>(State::write_path("kdm.log")); } private: |
