aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LogOutput.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LogOutput.java')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LogOutput.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LogOutput.java b/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LogOutput.java
index b69c405d931..8bfa4301e1d 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LogOutput.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LogOutput.java
@@ -23,6 +23,7 @@ package org.sonar.batch.bootstrapper;
* Allow to redirect batch logs to a custom output. By defaults logs are written to System.out
* @since 5.2
*/
+@FunctionalInterface
public interface LogOutput {
void log(String formattedMessage, Level level);