added more logger documentation

This commit is contained in:
Sven Vogel 2023-07-16 23:28:32 +02:00
parent 1e0c3ff550
commit e8da31486f
1 changed files with 9 additions and 0 deletions

View File

@ -7,10 +7,19 @@ import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter; import java.time.format.DateTimeFormatter;
import java.util.logging.*; import java.util.logging.*;
/**
* Utility class for providing a global logger for the entire application instance at runtime
*/
public final class Logging { public final class Logging {
/**
* Publicly available logger instance.
*/
public static final Logger LOGGER = Logger.getLogger(Logging.class.getName()); public static final Logger LOGGER = Logger.getLogger(Logging.class.getName());
/**
* Folder the log files are stored in, relative to the file containing the class
*/
private static final String LOG_FOLDER_NAME = "logs/"; private static final String LOG_FOLDER_NAME = "logs/";
/** /**