Class Logger
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidMessages to be logged in debug mode.voidMessages to be logged in debug mode according to the specified format and argument.voidMessages to be logged in debug mode according to the specified format and arguments.voidMessages to be logged in debug mode according to the specified format and arguments.voidMessages to be logged in debug mode.voidMessages to be logged in error mode.voidMessages to be logged in error mode according to the specified format and argument.voidMessages to be logged in error mode according to the specified format and arguments.voidMessages to be logged in error mode according to the specified format and arguments.voidMessages to be logged in error mode.static LoggergetLoggerFor(Class loggerClass) static LoggergetLoggerFor(Class loggerClass, String pluginId) voidMessages to be logged in info mode.voidMessages to be logged in info mode according to the specified format and argument.voidMessages to be logged in info mode according to the specified format and arguments.voidMessages to be logged in info mode according to the specified format and arguments.voidMessages to be logged in info mode.static voidinitialize(com.thoughtworks.go.plugin.internal.api.LoggingService loggingService) voidMessages to be logged in warn mode.voidMessages to be logged in warn mode according to the specified format and argument.voidMessages to be logged in warn mode according to the specified format and arguments.voidMessages to be logged in warn mode according to the specified format and arguments.voidMessages to be logged in warn mode.
-
Method Details
-
getLoggerFor
-
getLoggerFor
-
initialize
public static void initialize(com.thoughtworks.go.plugin.internal.api.LoggingService loggingService) -
debug
Messages to be logged in debug mode.- Parameters:
message- a string containing the message to be logged.
-
debug
Messages to be logged in debug mode.- Parameters:
message- a string containing the message to be logged.throwable-
-
debug
Messages to be logged in debug mode according to the specified format and argument.This form avoids unnecessary object creation when the logger is disabled for the DEBUG level.
- Parameters:
message- the format string.arg- the argument
-
debug
Messages to be logged in debug mode according to the specified format and arguments.This form avoids unnecessary object creation when the logger is disabled for the DEBUG level.
- Parameters:
message- the format string.arg1- the first argumentarg2- the second argument
-
debug
Messages to be logged in debug mode according to the specified format and arguments.This form avoids unnecessary object creation when the logger is disabled for the DEBUG level.
- Parameters:
message- the format string.arguments- a list of 3 or more arguments
-
info
Messages to be logged in info mode.- Parameters:
message- a string containing the message to be logged.
-
info
Messages to be logged in info mode.- Parameters:
message- a string containing the message to be logged.throwable-
-
info
Messages to be logged in info mode according to the specified format and argument.This form avoids unnecessary object creation when the logger is disabled for the INFO level.
- Parameters:
message- the format string.arg- the argument
-
info
Messages to be logged in info mode according to the specified format and arguments.This form avoids unnecessary object creation when the logger is disabled for the INFO level.
- Parameters:
message- the format string.arg1- the first argumentarg2- the second argument
-
info
Messages to be logged in info mode according to the specified format and arguments.This form avoids unnecessary object creation when the logger is disabled for the INFO level.
- Parameters:
message- the format string.arguments- a list of 3 or more arguments
-
warn
Messages to be logged in warn mode.- Parameters:
message- a string containing the message to be logged.
-
warn
Messages to be logged in warn mode.- Parameters:
message- a string containing the message to be logged.throwable-
-
warn
Messages to be logged in warn mode according to the specified format and argument.This form avoids unnecessary object creation when the logger is disabled for the WARN level.
- Parameters:
message- the format string.arg- the argument
-
warn
Messages to be logged in warn mode according to the specified format and arguments.This form avoids unnecessary object creation when the logger is disabled for the WARN level.
- Parameters:
message- the format string.arg1- the first argumentarg2- the second argument
-
warn
Messages to be logged in warn mode according to the specified format and arguments.This form avoids unnecessary object creation when the logger is disabled for the WARN level.
- Parameters:
message- the format string.arguments- a list of 3 or more arguments
-
error
Messages to be logged in error mode.- Parameters:
message- a string containing the message to be logged.
-
error
Messages to be logged in error mode.- Parameters:
message- a string containing the message to be logged.throwable-
-
error
Messages to be logged in error mode according to the specified format and argument.This form avoids unnecessary object creation when the logger is disabled for the ERROR level.
- Parameters:
message- the format string.arg- the argument
-
error
Messages to be logged in error mode according to the specified format and arguments.This form avoids unnecessary object creation when the logger is disabled for the ERROR level.
- Parameters:
message- the format string.arg1- the first argumentarg2- the second argument
-
error
Messages to be logged in error mode according to the specified format and arguments.This form avoids unnecessary object creation when the logger is disabled for the ERROR level.
- Parameters:
message- the format string.arguments- a list of 3 or more arguments
-