Namespace: Consultingwerk.Framework
Class 
LoggingPresetProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.ILoggingPresetProvider

File:LoggingPresetProvider
Purpose:Default ILoggingPresetProvider implementation
Syntax:Based on JsonStructure in .applicationsettings / .restapplicationsettings
file
"loggingPresets": {
"query": {
"LogEntryTypes": "QryInfo:4,4GLTrace",
"CustomLogEntryTypes": "DataAccess"
},
"sample": {
"LogEntryTypes": "4GLMessage,4GLTrans",
"CustomLogEntryTypes": "ABC,DEF,GHI"
}
}
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Sep 07 17:41:22 CEST 2018



Top Method Summary
Options Name Purpose
+ ActivateLoggingPreset (character) Activates a logging preset
+ CHARACTER GetLoggingPresets () Returns the names of the Logging Presets
# InitializeFromConfigurationProvider () Initializes the logging presets from the configuration provider

Top Constructor Summary
Options Name Purpose
+ LoggingPresetProvider () Constructor for the LoggingPresetProvider class


Method Detail
Top

PUBLIC ActivateLoggingPreset (character)

Purpose: Activates a logging preset
Notes: Ignores non existing logging presets

Parameters:
pcLoggingPreset CHARACTER
The name of the logging preset
Top

PUBLIC CHARACTER GetLoggingPresets ()

Purpose: Returns the names of the Logging Presets
Notes:

Returns CHARACTER
The Character array of logging presets
Top

PROTECTED InitializeFromConfigurationProvider ()

Purpose: Initializes the logging presets from the configuration
provider
Notes:



Constructor Detail
Top

PUBLIC LoggingPresetProvider ()

Purpose: Constructor for the LoggingPresetProvider class
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:07