|
User Defined Class Library
|
Class:
| clsSMSTrace32Log |
|
Version:
| 1.0.1 |
|
Description:
| Provides an easy way for administrators to logging capabilities to their
scripts where the log output is correctly formatted to take advantage of the SMS
Trace utility (trace32.exe from Microsoft
SMS 2003 Downloads) insofar as date/time, thread, component, context and
source marking, as well as line highlighting for caution and error entries. |
|
Name / Return Type
|
RO
|
Description
|
| appName Returns: String | Y | Returns the name of the class. |
| appVersion Returns: String | Y | Returns the version of the class. |
| Component Returns: String | N | Sets / Returns the component identification information displayed in the Component field of the log reader. |
| LogFileName Returns: String | N | Sets / Returns the full file name and path of the log file to write to. |
| ShowContext Returns: Boolean | N | Sets / Returns if the context information, an available field within the log line formatting by without an accompanying field, is appended to the Component field output of the log reader. |
| Source Returns: String | N | Sets / Returns the source identification information displayed in the Source field of the log reader. |
|
Parameters / Return Type
|
Where...
|
| LogEvent strMessage, intType, dblThread, strContext Returns: None | strMessage
The text to write to the log.
intType
Integer constant indicating severity level of the log entry (normal, caution,
error)
dblThread
Double value indicating the numeric thread of the process reporting the log
entry.
strContext
Context string of the process reporting the log entry. |
VBScript Only At This Time
|
Last Modification:
8/18/2005
More Information:
None
|