Package io.github.intisy.gradle.inno
Class Logger
java.lang.Object
io.github.intisy.gradle.inno.Logger
A logger for the GitHub plugin.
-
Constructor Summary
ConstructorsConstructorDescriptionLogger(InnoSetupTask extension) Creates a new logger.Logger(InnoSetupTask extension, org.gradle.api.Project project) Creates a new logger. -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a debug message.voidLogs an error message.voidLogs an error message along with an exception's stack trace.voidLogs a standard lifecycle message, visible in the default Gradle output.voidLogs a warning message.
-
Constructor Details
-
Logger
Creates a new logger.- Parameters:
extension- The GitHub extension.
-
Logger
Creates a new logger.- Parameters:
extension- The GitHub extension.project- The project.
-
-
Method Details
-
log
Logs a standard lifecycle message, visible in the default Gradle output.- Parameters:
message- The message to log.
-
error
Logs an error message.- Parameters:
message- The message to log.
-
error
Logs an error message along with an exception's stack trace.- Parameters:
message- The message to log.throwable- The exception to log.
-
debug
Logs a debug message.This message will be shown at the LIFECYCLE level (visible by default) only if the user sets `github.debug = true` in their build script, providing an easy way to enable verbose logging for this plugin specifically.
- Parameters:
message- The message to log.
-
warn
Logs a warning message.- Parameters:
message- The message to log.
-