Namespace: OpenEdge.Logging
Class
ConfigFileLoggerBuilder
Parent classes:
Inherits: OpenEdge.Logging.JsonConfigLoggerBuilder

Copyright (c) 2016-2019 by Progress Software Corporation. All rights reserved.
File:ConfigFileLoggerBuilder
Purpose:Loads JSON-based logger configuration from a known file
Author(s):pjudge
Created:Mon Dec 05 09:48:11 EST 2016
Notes:* Assumes the config is stored in a JSON file
- named logging.config that is in PROPATH
- matching the schema in $DLC/src/corelib/OpenEdge/Logging/logging.config.schema




Method Summary
Options Name Purpose
OpenEdge.Logging.ILogWriter GetLoggerInstance () /* Constructs the actual logger instance @return ILogWriter A new or cached logged */
LoadFromFile (character) /* Loads logging config from a file @param character The filename to load. */

Constructor Summary
Options Name Purpose
ConfigFileLoggerBuilder () /* Static constructor */
ConfigFileLoggerBuilder (character) /* Constructor @param character The logger type being built */


Method Detail
Top

OpenEdge.Logging.ILogWriter GetLoggerInstance ()

/* Constructs the actual logger instance
Returns OpenEdge.Logging.ILogWriter
ILogWriter A new or cached logged
Top

LoadFromFile (character)

/* Loads logging config from a file
Parameters:
pFileName CHARACTER


Constructor Detail
Top

STATIC ConfigFileLoggerBuilder ()

/* Static constructor
Top

ConfigFileLoggerBuilder (character)

/* Constructor
Parameters:
pcLoggerType CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15