Namespace: OpenEdge.Logging.Format
Class
ResolvedTokenFormat
Parent classes:
Inherits: Progress.Lang.Object
Implements: OpenEdge.Logging.Filter.ILoggerFilter, OpenEdge.Logging.Format.ISupportFormatting

/* *************************************************************************************************************************
Copyright (c) 2016-2017 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:ResolvedTokenFormat
Purpose:Formats a token-based message using the OE.Logging.TokenResolver
Author(s):pjudge
Created:Wed Nov 16 13:02:52 EST 2016
Notes:- The Format string in this
${msg}
(LogMessage.Message)
${msg.[sub-token]}
sub-token
grp LogMessage.GroupName
logger[.format] LogEvent.LoggerName
level LogEvent.LogLevel
t.[arg] LogEvent.TimeStamp
arg is * Group args for T (T= time). from TokenResolver
cp.[arg] LogEvent.LoggedBy
err LogEvent.Error
- All of the msg.[sub-token] messages are fully-resolved here except
for the ts.[arg] tokens which are passed into the TokenResolver




Method Summary
Options Name Purpose
ExecuteFilter (LogEvent) /** Performs implementation-specific filtering for a logger type @param LogMessage The message to log. */
TokenResolvedHandler (Object, TokenResolverEventArgs) /* Callback to handle token replacement with LogEvent/LogMessage context @param Object The sender @param TokenResolverEventArgs The token resolution args */

Constructor Summary
Options Name Purpose
ResolvedTokenFormat () /* Default constructor */

Property Summary
Options Name Purpose
CHARACTER Format /* Format for the logger name. See the TokenResolve class for more */


Method Detail
Top

ExecuteFilter (LogEvent)

Purpose: Performs implementation-specific filtering for a logger type
Parameters:
poEvent OpenEdge.Logging.LogEvent
Top

TokenResolvedHandler (Object, TokenResolverEventArgs)

/* Callback to handle token replacement with LogEvent/LogMessage context
Parameters:
pSender Progress.Lang.Object
pArgs OpenEdge.Logging.TokenResolverEventArgs


Constructor Detail
Top

ResolvedTokenFormat ()

/* Default constructor


Property Detail
Top

CHARACTER Format

/* Format for the logger name. See the TokenResolve class for more
Returns CHARACTER


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7