From 56f69533d1fa2114cd0a70516bdcc14243cfedfe Mon Sep 17 00:00:00 2001
From: Tom Rondeau <tom@trondeau.com>
Date: Thu, 4 Dec 2014 10:31:24 -0500
Subject: logger: adds a function to the logger facilities that allows us to
 update the format of the logging output.

---
 gnuradio-runtime/lib/basic_block.cc | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'gnuradio-runtime/lib/basic_block.cc')

diff --git a/gnuradio-runtime/lib/basic_block.cc b/gnuradio-runtime/lib/basic_block.cc
index 686c1d6e65..09d2eb2b3a 100644
--- a/gnuradio-runtime/lib/basic_block.cc
+++ b/gnuradio-runtime/lib/basic_block.cc
@@ -26,6 +26,7 @@
 
 #include <gnuradio/basic_block.h>
 #include <gnuradio/block_registry.h>
+#include <gnuradio/logger.h>
 #include <stdexcept>
 #include <sstream>
 #include <iostream>
@@ -82,6 +83,7 @@ namespace gr {
 
     // set the block's alias
     d_symbol_alias = name;
+    update_logger_alias(symbol_name(), d_symbol_alias);
   }
 
   // ** Message passing interface **
-- 
cgit v1.2.3