Interface LogConfigurationLoader


public interface LogConfigurationLoader
Loads the log configurations when LogViewer is embedded into a Java web application. If the default log configuration detector works incorrectly, you can define a manual log configuration detector. You can create a spring bean implementing LogConfigurationLoader. It will be used by LogViewerAutoConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Loads log configurations when LogViewer is embedded into a Java web application.
  • Method Details

    • getLogConfigurations

      @NonNull Map<Path,LogFormat> getLogConfigurations()
      Loads log configurations when LogViewer is embedded into a Java web application.
      Returns:
      The map containing path to log files mapped to formats. The format may be null, in this case LogViewer will detect the format automatically.