Class Logger

java.lang.Object
io.github.intisy.gradle.inno.Logger

public class Logger extends Object
A logger for the GitHub plugin.
  • Constructor Details

    • Logger

      public Logger(InnoSetupTask extension)
      Creates a new logger.
      Parameters:
      extension - The GitHub extension.
    • Logger

      public Logger(InnoSetupTask extension, org.gradle.api.Project project)
      Creates a new logger.
      Parameters:
      extension - The GitHub extension.
      project - The project.
  • Method Details

    • log

      public void log(String message)
      Logs a standard lifecycle message, visible in the default Gradle output.
      Parameters:
      message - The message to log.
    • error

      public void error(String message)
      Logs an error message.
      Parameters:
      message - The message to log.
    • error

      public void error(String message, Throwable throwable)
      Logs an error message along with an exception's stack trace.
      Parameters:
      message - The message to log.
      throwable - The exception to log.
    • debug

      public void debug(String message)
      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

      public void warn(String message)
      Logs a warning message.
      Parameters:
      message - The message to log.