Package jenkins.plugins.slack.logging
Class SlackNotificationsLogger
java.lang.Object
jenkins.plugins.slack.logging.SlackNotificationsLogger
- All Implemented Interfaces:
BuildAwareLogger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Debug logs are only written to the system log.void
Info logs are written to the system log with the build key and to the build's log without the key
-
Constructor Details
-
SlackNotificationsLogger
-
-
Method Details
-
debug
Debug logs are only written to the system log.- Specified by:
debug
in interfaceBuildAwareLogger
- Parameters:
key
- - Human-readable representation of the buildmessage
- - message to be written to the system logargs
- - arguments for the message- See Also:
-
info
Info logs are written to the system log with the build key and to the build's log without the key- Specified by:
info
in interfaceBuildAwareLogger
- Parameters:
key
- - Human-readable representation of the buildmessage
- - message to be written to system log and build's console outputargs
- - arguments for the message- See Also:
-
getTaskListener
- Specified by:
getTaskListener
in interfaceBuildAwareLogger
-