The Logger Config Plugin updates your logger configuration file by scanning your source imports for logger implementations. This helps in maintaining a consistent and up-to-date logger configuration throughout your project.
- Automatically scans source files for logger implementations.
- Updates the logger configuration file based on identified logger implementations.
- Supports popular logger frameworks.
To use the Logger Config Plugin, add the following to your build.gradle
file:
plugins {
id 'de.frederikheinrich.logger-config-plugin' version '1.0.0'
}
The plugin works out-of-the-box with default settings. However, you can customize its behavior by adding configuration options in your build.gradle
file:
loggerConfig {
// Add your configuration options here
}
Here's a basic example to get you started:
plugins {
id 'java'
id 'de.frederikheinrich.logger-config-plugin' version '1.0.0'
}
loggerConfig {
// Configuration options
configFilePath = "src/main/resources/logback.xml"
}
Once the plugin is applied and configured, it will automatically scan your source files and update the logger configuration file during the build process.
Contributions are welcome! Please open an issue or submit a pull request with your improvements.
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.