← Back to plugin index

Coloring Rule

Description
Defines a coloring rule for the log viewer based on a regular expression.
Type name
ColoringRule
Class
com.airlock.iam.admin.application.configuration.logviewer.ColoringRule
May be used by
Properties
Regexp Pattern String (regexpPatternString)
Description
Defines the regular expression pattern matched against the log level and the message. The matching is case-insensitive. The pattern must match part of the level or message. Use "^" and "$" to be sure it matches the whole level or message.
Attributes
RegEx
Mandatory
Foreground Color (foregroundColor)
Description
Foreground color (font) of the log message.
Attributes
String
Optional
Default value
black
Allowed values
black, white, red, blue, green, yellow, orange, purple
Background Color (backgroundColor)
Description
Background color of the log message.
Attributes
String
Optional
Default value
white
Allowed values
black, white, red, blue, green, yellow, orange, purple
Foreground Color For Meta Data (foregroundColorForMetaData)
Description
Metadata color of the log message.
Attributes
String
Optional
Default value
black
Allowed values
black, white, red, blue, green, yellow, orange, purple
YAML Template (with default values)

type: ColoringRule
id: ColoringRule-xxxxxx
displayName: 
comment: 
properties:
  backgroundColor: white
  foregroundColor: black
  foregroundColorForMetaData: black
  regexpPatternString: