ldilley / rubircd

:speech_balloon: An IRC server written in Ruby
http://www.dilley.me/rubircd
GNU General Public License v3.0
22 stars 4 forks source link

Add logging severity levels #16

Closed ldilley closed 9 years ago

ldilley commented 9 years ago

Add logging severity levels to more easily pick out entries in the log file matching a certain criteria. The following levels should be added:

AUTH - registration events CRIT - erroneous events that could cause a problem INFO - informational/generic events (default case) WARN - events that should not occur, but are not a problem DBUG - logs extra programming-related information when debug option is turned on in the config

ldilley commented 9 years ago

Added in ea243832bfcc5c1d0b7e32b57ed0e0561706ac26.