summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Printer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Printer.cc b/src/Printer.cc
index a7fee9f..7eb02d8 100644
--- a/src/Printer.cc
+++ b/src/Printer.cc
@@ -28,6 +28,10 @@ void Balau::Printer::setLocal() {
localPrinter.set(this);
}
+void Balau::Printer::setGlobal() {
+ localPrinter.setGlobal(this);
+}
+
Balau::Printer * Balau::Printer::getPrinter() { return localPrinter.get(); }
void Balau::Printer::_log(uint32_t level, const char * fmt, va_list ap) {