Class LogConf

  • All Implemented Interfaces:

    
    public class LogConf
    
                        
    Since:

    2022-09-01

    Author:

    trydofor

    • Constructor Detail

      • LogConf

        LogConf()
    • Method Detail

      • getMapping

         String getMapping()

        UrlMapping, GET request, one `id` parameter only.

      • setMapping

         void setMapping(String mapping)

        UrlMapping, GET request, one `id` parameter only.

      • getLength

         DataSize getLength()

        how many bytes before current log is output by default, do not record sensitive data in the log.

      • setLength

         void setLength(DataSize length)

        how many bytes before current log is output by default, do not record sensitive data in the log.

      • getHeader

         Pattern getHeader()

        regexp of section header, e.g. `2023-02-04T11:09:32.692+08:00`, `2024-07-23 01:31:59.063`

      • setHeader

         void setHeader(Pattern header)

        regexp of section header, e.g. `2023-02-04T11:09:32.692+08:00`, `2024-07-23 01:31:59.063`

      • isEnable

         boolean isEnable()

        whether to enable the alert file viewer

      • setEnable

         void setEnable(boolean enable)

        whether to enable the alert file viewer