aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-dataloader/DiagnosticLogger.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-dataloader/DiagnosticLogger.hpp')
-rw-r--r--src/openvic-dataloader/DiagnosticLogger.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openvic-dataloader/DiagnosticLogger.hpp b/src/openvic-dataloader/DiagnosticLogger.hpp
index 479a7a0..4c3a776 100644
--- a/src/openvic-dataloader/DiagnosticLogger.hpp
+++ b/src/openvic-dataloader/DiagnosticLogger.hpp
@@ -226,6 +226,10 @@ namespace ovdl {
_tree.set_root(_tree.create<error::Root>());
}
+ void set_file(const file_type& file) {
+ _file = &file;
+ }
+
struct Writer;
template<typename... Args>