Interface GitHubLogger

All Known Implementing Classes:
ConsoleGitHubLogger, Logger

public interface GitHubLogger
Receives diagnostic output from GitHub without requiring a Gradle Project.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debug(String message)
    Records a verbose diagnostic message intended for troubleshooting, not routine output.
    void
    error(String message)
    Records a failure message with no associated exception.
    void
    error(String message, Throwable throwable)
    Records a failure message together with the exception that caused it.
    void
    log(String message)
    Records a normal, always-visible progress message (e.g.
    void
    warn(String message)
    Records a recoverable-condition message (e.g.
  • Method Details

    • log

      void log(String message)
      Records a normal, always-visible progress message (e.g. "Cloning repository...").
      Parameters:
      message - the fully formatted message; the implementation applies no templating or placeholder substitution, so build the final text with string concatenation before calling.
    • error

      void error(String message)
      Records a failure message with no associated exception.
      Parameters:
      message - the fully formatted message; the implementation applies no templating or placeholder substitution, so build the final text with string concatenation before calling.
    • error

      void error(String message, Throwable throwable)
      Records a failure message together with the exception that caused it.
      Parameters:
      message - the fully formatted message; the implementation applies no templating or placeholder substitution, so build the final text with string concatenation before calling.
      throwable - the exception that caused the failure.
    • debug

      void debug(String message)
      Records a verbose diagnostic message intended for troubleshooting, not routine output.
      Parameters:
      message - the fully formatted message; the implementation applies no templating or placeholder substitution, so build the final text with string concatenation before calling.
    • warn

      void warn(String message)
      Records a recoverable-condition message (e.g. falling back to a cached jar after a rate limit).
      Parameters:
      message - the fully formatted message; the implementation applies no templating or placeholder substitution, so build the final text with string concatenation before calling.