lib/bovem/logger.rb in bovem-2.0.0 vs lib/bovem/logger.rb in bovem-2.0.1

- old
+ new

@@ -5,13 +5,18 @@ # module Bovem # A custom logger. # - # @attr [Time] start_time The start time of first line. This allows to show a `T+0.1234` information into the log. - # @attr [IO|String] device The file or device to log messages to. + # @attribute [r] device + # @return [IO|String] The file or device to log messages to. class Logger < ::Logger - mattr_accessor :start_time + # @attribute start_time + # @return [Time] The start time of first line. This allows to show a `T+0.1234` information into the log. + class << self + attr_accessor :start_time + end + attr_reader :device # Creates a new logger. # # @see http://www.ruby-doc.org/stdlib-1.9.3/libdoc/logger/rdoc/Logger.html \ No newline at end of file