Interface Logger
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that logs parsing results.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaccept(@NonNull Logger.Type type, @NonNull String message) Deprecated, for removal: This API element is subject to removal in a future version.voidlog(@NonNull Logger.Type type, @NonNull String message) Performs this operation on the given arguments.
-
Method Details
-
log
Performs this operation on the given arguments.- Parameters:
type- the log typemessage- the log message
-
accept
@Deprecated(since="0.26.0", forRemoval=true) default void accept(@NonNull Logger.Type type, @NonNull String message) Deprecated, for removal: This API element is subject to removal in a future version.Uselog(Logger.Type, String)insteadPerforms this operation on the given arguments.- Parameters:
type- the log typemessage- the log message
-
log(Logger.Type, String)instead