public class Logger extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message)
Messages to be logged in debug mode.
|
void |
debug(String message,
Throwable throwable)
Messages to be logged in debug mode.
|
void |
error(String message)
Messages to be logged in error mode.
|
void |
error(String message,
Throwable throwable)
Messages to be logged in error mode.
|
static Logger |
getLoggerFor(Class loggerClass) |
void |
info(String message)
Messages to be logged in info mode.
|
void |
info(String message,
Throwable throwable)
Messages to be logged in info mode.
|
static void |
initialize(com.thoughtworks.go.plugin.internal.api.LoggingService loggingService) |
void |
warn(String message)
Messages to be logged in warn mode.
|
void |
warn(String message,
Throwable throwable)
Messages to be logged in warn mode.
|
public static void initialize(com.thoughtworks.go.plugin.internal.api.LoggingService loggingService)
public void debug(String message)
message - a string containing the message to be logged.public void debug(String message, Throwable throwable)
message - a string containing the message to be logged.throwable - public void info(String message)
message - a string containing the message to be logged.public void info(String message, Throwable throwable)
message - a string containing the message to be logged.throwable - public void warn(String message)
message - a string containing the message to be logged.public void warn(String message, Throwable throwable)
message - a string containing the message to be logged.throwable - public void error(String message)
message - a string containing the message to be logged.Copyright © 2014 ThoughtWorks, Inc. Go Version: 16.2.1-175