OpenEdge.Logging.JsonConfigLoggerBuilder
- Last Updated: January 15, 2026
- 4 minute read
- OpenEdge
- Version 12.8
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| ClearConfig () |
/* Clears all the current logger configurations */
|
||
| OpenEdge.Logging.LogLevelEnum FindLevel (character) |
/* Finds the log level for a logger to use, based on the logger type
Algorithm is
1) exact match
2) chop off the trailing .-delimited entry, repeating
3) find the logger defined as DEFAULT_LOGGER, folling steps 1 & 2
@param character The logger type to find
@return LogLevelEnum returns a log level , if any */
|
||
| LOGICAL FindLogger (character, buffer) |
/* Find a temp-table record/config for a logger to use
Algorithm is
1) exact match
2) chop off the trailing .-delimited entry, repeating
3) find the logger defined as DEFAULT_LOGGER, following steps 1 & 2
4) return a void logger (just to have a reference)
@param character The logger type to find
@param buffer A buffer reference to the logger temp-table
@return logical TRUE if a logger record was found. If TRUE, the
buffer will AVAILABLE; if false, not */
|
||
| Progress.Lang.Class GetABLType (JsonObject, character) |
/* Returns a type name from a property we expect to have a type. Basically resolving the
typeName / typeProperty values into an P.L.C
"definitions": {
"typeName": {
"type": "string",
"description": "An OOABL type name",
"pattern": "^[A-Za-z]+[A-Za-z$0-9-&#%.]+[A-Za-z$0-9-&#%]*quot;
},
"typeProperty": {
"type": "object",
"properties": {
"type": {"$ref": "#/definitions/typeName"},
"hash": {
"type": "string",
"description": "A hash value to validate that the OOABL type is the expected version."
}
},
"required": ["type"]
},
"builderProperty": {
"oneOf": [
{"$ref": "#/definitions/typeProperty"},
{"$ref": "#/definitions/typeName"}
]
}
},
@param JsonObject The JSON containign the type property
@param character The name of the propert
@return P.L.Class A resolve ABL type name. May be unknown */
|
||
| OpenEdge.Logging.ILogWriter GetLoggerInstance () |
/* Constructs the actual logger instance
@return ILogWriter A new or cached logged */
|
||
| LoadConfig (JsonObject) |
/* Loads logging configuration from JSON. Is an ADDITIVE operation - existing
config is not cleared. To remove existing config, call the ClearConfig()
static method.
@param JsonObject JSON representation of the lgging configuration */
|
||
| ValidateFilter (character, character) |
/* Ensures that a Filter type is the one we were expecting.
@param character (mandatory) The ABL Filter name used to process the event
@param character (optional) A hash used to verify the Filter's authenticity
@throws AppError If a hash is passed and the Filter type's hash does not match */
|
Constructor Summary
| Options | Name | Purpose | |
|---|---|---|---|
| JsonConfigLoggerBuilder (character) |
/* Constructor
@param character The logger type being built */
|
Property Summary
| Options | Name | Purpose | |
|---|---|---|---|
| OpenEdge.Core.Util.BuilderRegistry FilterBuilders |
|
||
| OpenEdge.Core.Util.BuilderRegistry Filters |
|
Method Detail
ClearConfig ()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OpenEdge.Logging.LogLevelEnum FindLevel (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LOGICAL FindLogger (character, buffer)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Progress.Lang.Class GetABLType (JsonObject, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OpenEdge.Logging.ILogWriter GetLoggerInstance ()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LoadConfig (JsonObject)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ValidateFilter (character, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Constructor Detail
JsonConfigLoggerBuilder (character)
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Property Detail
OpenEdge.Core.Util.BuilderRegistry FilterBuilders |
||||
|---|---|---|---|---|
OpenEdge.Core.Util.BuilderRegistry Filters |
||||