| Class | Dsadmin::LogWriters::EmailWriter |
| In: |
lib/dsadmin/log_writers.rb
|
| Parent: | LogWriter |
Output handler for email messages (one per log message). Use only for low-frequency messages (bug reports etc) FIXME: Implement queueing and bundling of messages to avoid flooding
Constructor
# File lib/dsadmin/log_writers.rb, line 164
164: def initialize(mail_facility)
165: # Try if the mail facility exists
166: tmp = Email.new(mail_facility)
167:
168: @facility = mail_facility
169: end