Module: Thin::Logging
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
-
#silent ⇒ Object
Don’t output any message if
true
. -
#trace ⇒ Object
writeonly
Output extra info about the request, response, errors and stuff like that.
Instance Attribute Details
#silent ⇒ Object
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 |