Class LogService

java.lang.Object
com.kosdev.kos.core.service.log.LogService

public class LogService extends Object
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 Details

    • addOverride

      public void addOverride(LogOverride override)
      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

      public void removeOverride(LogOverride override)
      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