Sha256: 5d9f9fb237cb8a2e69aed1faa490052cf955e71617e90b67ec9407b590b63cc0

Contents?: true

Size: 1007 Bytes

Versions: 13

Compression:

Stored size: 1007 Bytes

Contents

module Eco
  module API
    class SessionConfig
      class Logger < Hash

        def initialize(root:)
          super(nil)
          @root = root
        end

        def console_level=(value)
          self["console_level"] = value
        end

        def console_level
          self["console_level"]
        end

        def file_level=(value)
          self["file_level"] = value
        end

        def file_level
          self["file_level"]
        end

        def file=(file)
          self["file"] = file
        end

        def file
          self["file"]
        end

        def timestamp_console=(value)
          self["timestamp_console"] = value
        end

        def timestamp_console
          self["timestamp_console"]
        end

        def log_connection=(value)
          self["log_connection"] = value
        end

        def log_connection?
          !!self["log_connection"]
        end

      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
eco-helpers-0.6.13 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.12 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.11 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.9 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.8 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.7 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.6 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.5 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.4 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.3 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.2 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.1 lib/eco/api/session_config/logger.rb
eco-helpers-0.6.0 lib/eco/api/session_config/logger.rb