Namespace: Consultingwerk.Studio
Class 
LogFileHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:LogFileHelper
Purpose:Supports parsing entries from a OpenEdge logile
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Jul 03 09:42:19 CEST 2011



Top Method Summary
Options Name Purpose
+ ParseClientLogLine (character, character, character, character) Parses a client logfile line
+ ParseClientLogLine (character, datetime-tz, integer, integer, integer, character, character, character) Parses a client logfile line
# INTEGER ParseProcessOrThread (character) Parses the process identifier

Top Constructor Summary
Options Name Purpose
- LogFileHelper () Disallow instance creation


Method Detail
Top

PUBLIC ParseClientLogLine (character, character, character, character)

Purpose: Parses a client logfile line
Notes:

Parameters:
pcLine CHARACTER
The logfile line to parse
pcGroup CHARACTER
OUTPUT The group
pcSubGroup CHARACTER
OUTPUT The sub group
pcText CHARACTER
OUTPUT The log file message
Top

PUBLIC ParseClientLogLine (character, datetime-tz, integer, integer, integer, character, character, character)

Purpose: Parses a client logfile line
Notes:

Parameters:
pcLine CHARACTER
The line to parse
pdtDate DATETIME-TZ
OUTPUT The date time of the message
piProcess INTEGER
OUTPUT The process id
piThread INTEGER
OUTPUT The thread number
piSeverity INTEGER
OUTPUT The message severity
pcGroup CHARACTER
OUTPUT The group
pcSubGroup CHARACTER
OUTPUT The sub group
pcText CHARACTER
OUTPUT The log file message
Top

PROTECTED INTEGER ParseProcessOrThread (character)

Purpose: Parses the process identifier
Notes:

Parameters:
pcProcess CHARACTER
The process identifier from the logfile
Returns INTEGER
The process or thread id


Constructor Detail
Top

PRIVATE LogFileHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:45:25