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 TypeMethodDescriptionvoidRecords a verbose diagnostic message intended for troubleshooting, not routine output.voidRecords a failure message with no associated exception.voidRecords a failure message together with the exception that caused it.voidRecords a normal, always-visible progress message (e.g.voidRecords a recoverable-condition message (e.g.
-
Method Details
-
log
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
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
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
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
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.
-