# | Line 57 | Line 57 | public class IRC__Alerter implements PluginAlerter { | |
---|---|---|
57 | } catch(IOException e) { | |
58 | _logger.write(toString(), Logger.ERROR, "Error starting IRCBot: "+e); | |
59 | } | |
60 | + | |
61 | + | _logger.write(toString(), Logger.SYSINT, "IRC Alerter started"); |
62 | } | |
63 | ||
64 | //---PUBLIC METHODS--- | |
# | Line 73 | Line 75 | public class IRC__Alerter implements PluginAlerter { | |
75 | message = StringUtils.replaceText(message, "%attributeName%", alert.getAttributeName()); | |
76 | ||
77 | // send the message | |
78 | + | _logger.write(toString(), Logger.DEBUG, "Sending IRC Alert at level"+String.valueOf(alert.getLevel())); |
79 | _ircbot.sendMsg(message); | |
80 | } | |
81 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |