lib/ztk/logger.rb in ztk-0.1.1 vs lib/ztk/logger.rb in ztk-0.2.0
- old
+ new
@@ -50,9 +50,13 @@
def initialize(*args)
super(*args)
set_log_level
end
+ def logdev
+ self.instance_variable_get(:@logdev).instance_variable_get(:@dev)
+ end
+
private
# Parses caller entries, extracting the file, line number and method.
#