Class AWSLambdaLoggerConfiguration

    • Method Detail

      • dateTimeFormat

        @Nullable
        public @Nullable DateFormat dateTimeFormat()
        The date and time format to be used in the output messages. The pattern describing the date and time format is defined by SimpleDateFormat.

        If the format is not specified or is invalid, the number of milliseconds since start up will be output.

        Returns:
        date and time format
        See Also:
        showDateTime()
      • isLevelEnabled

        public boolean isLevelEnabled​(Level level)
        Test if the logging level is enabled.
        Parameters:
        level - logging level
        Returns:
        true if this logging level is enabled
      • isLevelEnabled

        public boolean isLevelEnabled​(Level level,
                                      Marker marker)
        Test if the logging level with the marker is enabled.
        Parameters:
        level - logging level
        marker - logging marker
        Returns:
        true if this logging level with the marker is enabled
      • levelInBrackets

        public boolean levelInBrackets()
        Should the level string be output in brackets?
        Returns:
        true if the level string should be in brackets
      • logName

        public String logName()
        The logger name.
        Returns:
        logger name
      • name

        public String name()
        The full logger name.
        Returns:
        full logger name
      • requestId

        public String requestId()
        The request ID.
        Returns:
        request ID
      • showDateTime

        public boolean showDateTime()
        Should the date-time or timestamp be output?
        Returns:
        true if date-time or timestamp be output
        See Also:
        dateTimeFormat()
      • showThreadId

        public boolean showThreadId()
        Should the thread ID be output?
        Returns:
        true if thread ID be output
      • showThreadName

        public boolean showThreadName()
        Should the thread name be output?
        Returns:
        true if thread name be output