- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to an arbitrary piece of code that runs and can do logging.
- Since:
- 1.2.6
- Author:
- Jonathan Locke
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(org.slf4j.Logger log) Override this method to provide the code to run as aTask.
-
Method Details
-
run
Override this method to provide the code to run as aTask.- Parameters:
log- the log that will be used by the code
-