How to configure Slf4j from Lombok if I want log info to file?
Example what I want to get:
@Slf4j
public class ExampleClass {
log.info("some info");
}
And I want to get this info to file.
That depends on your slf4j implementation and has nothing to do with lombok. See for example slf4j-simple thread, if you want to use that as an implementation.
There's also longer blog post about different slf4j implementations.
But no, there is no way to do that with lombok, as that is not directly related to slf4j implementation.