Package com.kosdev.kos.core.service.log
Class LogService
java.lang.Object
com.kosdev.kos.core.service.log.LogService
Service that abstracts the adding and removing of log level overrides.
Additionally, applies overrides early in the boot cycle enabling proper
log capture at the specified levels from application startup.
- Since:
- 7
- Version:
- 7
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddOverride(LogOverride override) Add a log override.voidremoveOverride(LogOverride override) Remove a log override.
-
Method Details
-
addOverride
Add a log override. The override may not be in effect by the time this returns as this may need to synchronize with the primary node.- Parameters:
override- the override to apply- Since:
- 7
-
removeOverride
Remove a log override. The override may not be removed by the time this returns as this may need to synchronize with the primary node.- Parameters:
override- the override to remove- Since:
- 7
-