Fix the second-choice logger

This commit is contained in:
Nick Thomas
2011-05-15 02:05:02 +01:00
parent 9abcd28843
commit ae7e3a1acd

View File

@@ -21,7 +21,7 @@ module SharpCoin
end
def logger
@logger || self.class.logger || DummyLogger.new
@logger || Logging::logger || DummyLogger.new
end
# @param[Array[Symbol,String]|Array[String]] Data to log. Can specify a log