Class: Sinatra::Syslog::Logger
- Inherits:
-
Syslog::Logger
- Object
- Syslog::Logger
- Sinatra::Syslog::Logger
- Defined in:
- lib/sinatra/syslog/logger.rb
Instance Method Summary collapse
Instance Method Details
#close ⇒ Object
13 |
# File 'lib/sinatra/syslog/logger.rb', line 13 def close ; end |
#flush ⇒ Object
12 |
# File 'lib/sinatra/syslog/logger.rb', line 12 def flush ; end |
#puts(content) ⇒ Object
9 10 11 |
# File 'lib/sinatra/syslog/logger.rb', line 9 def puts content content.each_line { |line| error line } end |
#write(content) ⇒ Object
6 7 8 |
# File 'lib/sinatra/syslog/logger.rb', line 6 def write content content.each_line { |line| info line } end |