Top Description Inners Methods
net.bytebuddy.build

public Interface BuildLogger

Known Direct Implementers
net.bytebuddy.build.BuildLogger.NoOp, net.bytebuddy.build.BuildLogger.Adapter, net.bytebuddy.build.BuildLogger.StreamWriting, net.bytebuddy.build.BuildLogger.Compound
Imports
java.io.PrintStream, java.util.ArrayList, .Arrays, .List

An API that can be implemented by logging build systems to allow plugins to log information without depending on a build system-specific logging API.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
BuildLogger.Adapter

An abstract adapter implementation for a build logger.

public static class
BuildLogger.Compound

A compound build logger.

public static enum
BuildLogger.NoOp

A non-operational build logger that discards all statements.

public static class
BuildLogger.StreamWriting

A build logger that writes all statements to a PrintStream.

Method Summary

Modifier and TypeMethod and Description
public void
debug(String
The message to log.
message
)

Logs a message on the debug level.

public void
debug(String
The message to log.
message
,
Throwable
A throwable that is attached to the message.
throwable
)

Logs a message on the debug level.

public void
error(String
The message to log.
message
)

Logs a message on the error level.

public void
error(String
The message to log.
message
,
Throwable
A throwable that is attached to the message.
throwable
)

Logs a message on the error level.

public void
info(String
The message to log.
message
)

Logs a message on the info level.

public void
info(String
The message to log.
message
,
Throwable
A throwable that is attached to the message.
throwable
)

Logs a message on the info level.

public boolean

Returns:

true if the debug log level is enabled.
isDebugEnabled
()

Returns true if the debug log level is enabled.

public boolean

Returns:

true if the error log level is enabled.
isErrorEnabled
()

Returns true if the error log level is enabled.

public boolean

Returns:

true if the info log level is enabled.
isInfoEnabled
()

Returns true if the info log level is enabled.

public boolean

Returns:

true if the warn log level is enabled.
isWarnEnabled
()

Returns true if the warn log level is enabled.

public void
warn(String
The message to log.
message
)

Logs a message on the warn level.

public void
warn(String
The message to log.
message
,
Throwable
A throwable that is attached to the message.
throwable
)

Logs a message on the warn level.