The DlogObj used to manage a versioned debug file.
This DlogObj is typically stored ion a GLOBAL object so that access from many modules is convenient.
If multiple threads are open, duplicate files are created (with a dup tag to identify them).
The primary debug file is versioned in that 5 previous versions are retained.
append appends string to persistant storage. Expensive.
cycle remove oldest file, rename previous files and allow new generation to be created.
flush flushes internal line array to persistant storage. Expensive.
getDlogDupStr This is used to create a unique dlog file based on concurrent PSEC windows. For convenience it tries to use the basic name.
info adds `line` to internal line array.
[void] append ( [any]$str)
Parameter Format Description
$str any parm description missing
appends string to persistant storage. Expensive.
[void] cycle ()
remove oldest file, rename previous files and allow new generation to be created.
[void] flush ()
flushes internal line array to persistant storage. Expensive.
[string] getDlogDupStr ()
This is used to create a unique dlog file based on concurrent PSEC windows. For convenience it tries to use the basic name.
[void] info ( [string]$line)
Parameter Format Description
$line string parm description missing
adds line
to internal line array.
Copyright © 2018-2021, 2022, Rexcel System Inc.