lib/ztk/logger.rb in ztk-1.10.2 vs lib/ztk/logger.rb in ztk-1.10.3
- old
+ new
@@ -33,10 +33,10 @@
set_log_level
end
# Provides access to the raw log device.
def logdev
- self.instance_variable_get(:@logdev).instance_variable_get(:@dev)
+ @logdev.instance_variable_get(:@dev)
end
# Specialized logging. Logs messages in the same format, except has the
# option to shift the caller_at position to exposed the proper calling
# method.