Class BuildLogger.Compound
java.lang.Object
net.bytebuddy.build.BuildLogger.Compound
- All Implemented Interfaces:
BuildLogger
- Enclosing interface:
BuildLogger
A compound build logger.
-
Nested Class Summary
Nested classes/interfaces inherited from interface BuildLogger
BuildLogger.Adapter, BuildLogger.Compound, BuildLogger.NoOp, BuildLogger.StreamWriting -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<BuildLogger> The build loggers to delegate to. -
Constructor Summary
ConstructorsConstructorDescriptionCompound(List<? extends BuildLogger> buildLoggers) Creates a new compound build logger.Compound(BuildLogger... buildLogger) Creates a new compound build logger. -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a message on the debug level.voidLogs a message on the debug level.voidLogs a message on the error level.voidLogs a message on the error level.voidLogs a message on the info level.voidLogs a message on the info level.booleanReturnstrueif the debug log level is enabled.booleanReturnstrueif the error log level is enabled.booleanReturnstrueif the info log level is enabled.booleanReturnstrueif the warn log level is enabled.voidLogs a message on the warn level.voidLogs a message on the warn level.
-
Field Details
-
buildLoggers
The build loggers to delegate to.
-
-
Constructor Details
-
Compound
Creates a new compound build logger.- Parameters:
buildLogger- The build loggers to delegate to.
-
Compound
Creates a new compound build logger.- Parameters:
buildLoggers- The build loggers to delegate to.
-
-
Method Details
-
isDebugEnabled
public boolean isDebugEnabled()Returnstrueif the debug log level is enabled.- Specified by:
isDebugEnabledin interfaceBuildLogger- Returns:
trueif the debug log level is enabled.
-
debug
Logs a message on the debug level.- Specified by:
debugin interfaceBuildLogger- Parameters:
message- The message to log.
-
debug
Logs a message on the debug level.- Specified by:
debugin interfaceBuildLogger- Parameters:
message- The message to log.throwable- A throwable that is attached to the message.
-
isInfoEnabled
public boolean isInfoEnabled()Returnstrueif the info log level is enabled.- Specified by:
isInfoEnabledin interfaceBuildLogger- Returns:
trueif the info log level is enabled.
-
info
Logs a message on the info level.- Specified by:
infoin interfaceBuildLogger- Parameters:
message- The message to log.
-
info
Logs a message on the info level.- Specified by:
infoin interfaceBuildLogger- Parameters:
message- The message to log.throwable- A throwable that is attached to the message.
-
isWarnEnabled
public boolean isWarnEnabled()Returnstrueif the warn log level is enabled.- Specified by:
isWarnEnabledin interfaceBuildLogger- Returns:
trueif the warn log level is enabled.
-
warn
Logs a message on the warn level.- Specified by:
warnin interfaceBuildLogger- Parameters:
message- The message to log.
-
warn
Logs a message on the warn level.- Specified by:
warnin interfaceBuildLogger- Parameters:
message- The message to log.throwable- A throwable that is attached to the message.
-
isErrorEnabled
public boolean isErrorEnabled()Returnstrueif the error log level is enabled.- Specified by:
isErrorEnabledin interfaceBuildLogger- Returns:
trueif the error log level is enabled.
-
error
Logs a message on the error level.- Specified by:
errorin interfaceBuildLogger- Parameters:
message- The message to log.
-
error
Logs a message on the error level.- Specified by:
errorin interfaceBuildLogger- Parameters:
message- The message to log.throwable- A throwable that is attached to the message.
-