/** * Returns a rotating file logger that logs the messages to files in the default directory. * * @throws FileNotFoundException if the current file cannot be opened or created. */ @Pure public static @Capturable @Nonnull RotatingFileLogger withDefaultDirectory() throws FileNotFoundException { return new RotatingFileLogger(); }