Configuration class for Logback logging framework.
More...
|
void | printLogStatus (final LoggerContext context) |
| Prints the logger status to the log in case of errors or warnings.
|
|
Configuration class for Logback logging framework.
This class sets up and configures Logback for the application.
◆ MyLogback()
Constructor that initializes the logging configuration.
- Parameters
-
osFolderFactory | Factory for creating OS-specific folders |
◆ configureLogback()
LoggerContext fr.softsf.sudokufx.utils.MyLogback.configureLogback |
( |
| ) |
|
|
package |
Configures Logback using the specified configuration file.
- Returns
- The configured LoggerContext
- Exceptions
-
RuntimeException | if there's an error during configuration |
◆ printLogEntryMessage()
void fr.softsf.sudokufx.utils.MyLogback.printLogEntryMessage |
( |
| ) |
|
Prints the application's ASCII logo to the log as an entry message.
If the Spring context is set to exit on refresh, it also logs an optimizing startup message.
◆ printLogStatus()
void fr.softsf.sudokufx.utils.MyLogback.printLogStatus |
( |
final LoggerContext | context | ) |
|
|
private |
Prints the logger status to the log in case of errors or warnings.
- Parameters
-
context | The current logger context |
◆ setLogBackPathForTests()
void fr.softsf.sudokufx.utils.MyLogback.setLogBackPathForTests |
( |
| ) |
|
|
package |
Sets an invalid logback configuration path for testing purposes.
This method should only be used in test scenarios.
◆ logBackPath
String fr.softsf.sudokufx.utils.MyLogback.logBackPath = CONFIG_LOGBACK_PATH.getPath() |
|
private |
◆ logsFolderPath
final String fr.softsf.sudokufx.utils.MyLogback.logsFolderPath |
|
private |
The documentation for this class was generated from the following file: