Class GoogleChatNotificationsLogger
java.lang.Object
jenkins.plugins.googlechat.logging.GoogleChatNotificationsLogger
- All Implemented Interfaces:
BuildAwareLogger
-
Constructor Summary
ConstructorDescriptionGoogleChatNotificationsLogger
(Logger system, TaskListener listener, boolean suppressInfoLoggers) -
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
-
GoogleChatNotificationsLogger
public GoogleChatNotificationsLogger(Logger system, TaskListener listener, boolean suppressInfoLoggers)
-
-
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
-