Sha256: ec5a829b29cf0cb7b76cc5fcd922082af228c75fa26c34d4ecbd67359d820656

Contents?: true

Size: 1.08 KB

Versions: 5

Compression:

Stored size: 1.08 KB

Contents

module Eco
  module API
    class Session
      class Config
        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
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eco-helpers-0.7.2 lib/eco/api/session/config/logger.rb
eco-helpers-0.7.1 lib/eco/api/session/config/logger.rb
eco-helpers-0.6.17 lib/eco/api/session/config/logger.rb
eco-helpers-0.6.16 lib/eco/api/session/config/logger.rb
eco-helpers-0.6.15 lib/eco/api/session/config/logger.rb