Log File Example
Figures A-1 and A-2 show the same tracing and logging entries—one in HTML format and the other in XML. The HTML log file is already well formatted and can be viewed by a user as is. The XML log file is less presentable.
Each entry in a log file contains the entry number (different numbers for method calls, events, and errors); the call, error, and event time; machine name; process ID; thread ID; context ID; transaction ID; activity ID; the module name (the EXE or DLL name); the method name or the error/event description; the source filename; and the line number.
Figure A-1. Logging entries in HTML
Figure A-2. Logging entries in XML
Get COM & .NET Component Services now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.