Namespace: OpenEdge.Logging.Format
Type: Class ErrorFormat
Parent Classes:
Inherits: Progress.Lang.Object
Implements: OpenEdge.Logging.Filter.ILoggerFilter


/* *************************************************************************************************************************
Copyright (c) 2016-2021 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:ErrorFormat
Purpose:Formats any errors
Author(s):pjudge
Created:2016-11-21
Notes:* Written for all events
- the error messages and their number
- the return value (if an AppError)
- any errors contained in a InnerError property of type P.L.Error
- any stops contained in an InnerStop property of type P.L.Stop
- the error type name
- the error's call stack
an error's CallStack, set the WriteCallStack property to FALSE>
/* If TRUE then the error being logged's CallStack is written to the message. TRUE by default



Method Summary
  Options Name Purpose
  ExecuteFilter (LogEvent) /** Performs implementation-specific filtering for a logger type @param LogMessage The message to log. */
  WriteCallStack (character, LogEvent) /* Writes a callstack to the message @param character The error or stop callstack @param LogEvent The current log event */

Constructor Summary
  Options Name Purpose
  ErrorFormat () /* Default constructor. */

Property Summary
  Options Name Purpose
  LOGICAL WriteCallStack


Method Detail
Top

ExecuteFilter (LogEvent)

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

WriteCallStack (character, LogEvent)

/* Writes a callstack to the message
Parameters:
pCallStack CHARACTER
 
pEvent OpenEdge.Logging.LogEvent
 


Constructor Detail
Top

ErrorFormat ()

/* Default constructor.


Property Detail
Top

LOGICAL WriteCallStack

Returns LOGICAL