T
- Type of generated valuepublic interface Supplier<T>
Supplier
. It is used by logger for lazy
generation of messages and arguments. A message or argument can be provided as lambda expression and will be only
generated, if the log entry is really output.
tinylog provides its own supplier to ensure compatibility with Java prior to version 8.
Supplier
was introduced with Java 8.
Modifier and Type | Method | Description |
---|---|---|
T |
get() |
Generate the value.
|
T get()
Copyright © 2019. All rights reserved.