{
"operation-name" : "add",
"description" : "Adds a new pattern formatter.",
"request-properties" : {
"color-map" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The color-map attribute allows for a comma delimited list of colors to be used for different levels with a pattern formatter. The format for the color mapping pattern is level-name:color-name.Valid Levels; severe, fatal, error, warn, warning, info, debug, trace, config, fine, finer, finest Valid Colors; black, green, red, yellow, blue, magenta, cyan, white, brightblack, brightred, brightgreen, brightblue, brightyellow, brightmagenta, brightcyan, brightwhite",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"pattern" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Defines a pattern for the formatter.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}