lib/logput/adapters/logger.rb in logput-0.0.4 vs lib/logput/adapters/logger.rb in logput-0.0.5
- old
+ new
@@ -13,9 +13,10 @@
logger.is_a? ::Logger
end
# @return [String] path
def path
+ return path_override if path_override
@logger.instance_variable_get(:@logdev).filename
end
end
end
end