Module: Thin::Logging

Included in:
Cluster, Server
Defined in:
lib/thin/logging.rb

Overview

To be included into classes to allow some basic logging that can be silented (silent) or made more verbose (trace).

Instance Attribute Summary collapse

Instance Attribute Details

#silentObject

Don’t output any message if true.



9
10
11
# File 'lib/thin/logging.rb', line 9

def silent
  @silent
end

#trace=(value) ⇒ Object

Output extra info about the request, response, errors and stuff like that.



6
7
8
# File 'lib/thin/logging.rb', line 6

def trace=(value)
  @trace = value
end