public class Logging
Util class for formatting log messages.
Inherited Members
Static Methods
format(String method, Logging.Action action)
public static Supplier<String> format(String method, Logging.Action action)
Create a log message with the current thread name, method and action.
Parameters | |
---|---|
Name | Description |
method | String |
action | Logging.Action |
format(String method, Logging.Action action, Supplier<String> message)
public static Supplier<String> format(String method, Logging.Action action, Supplier<String> message)
Format a log message by prepending the current thread name, method, and action to the message.
Parameters | |
---|---|
Name | Description |
method | String |
action | Logging.Action |
message | Supplier<String> |
format(String method, Supplier<String> message)
public static Supplier<String> format(String method, Supplier<String> message)
Format a log message by prepending the current thread name and method to the message.
Constructors
Logging()
public Logging()