Viewing Output from a Readlog Extension (Windows Embedded CE 6.0)
1/5/2010
For information about creating a Readlog extension, see Writing A Readlog Extension To View Custom Events.
To view the output from a Readlog extension in Remote Kernel Tracker
To have Readlog read the output from an extension, open the registry on your development workstation.
Navigate to the HKEY_CURRENT_USER\Software\Microsoft\CeLog Reader\Plugins key, and set the following value:
"<FullPathToPlugInFile>"=""
Where <FullPathToPlugInFile> is the path to your plug-in executable, and the associated value can be an empty string or any string you like.
For example, to use the demo plug-in described in Writing A Readlog Extension To View Custom Events, you might use the following path:
"c:\WINCE500\release\DESKTOP\NT\cplgdemo.dll"=""
Open a command-line window, and type
readlog -plugin celog.clg new.clg
This creates a new log file that contains the text output from your extension in place of your custom events. The new log file stores the text output as CELID_RAW_WCHAR events.
To view the output from the log file created in step 3:
- Create a text version of the log file. For more information, see Viewing Logged Events with Readlog.
- or - - Open the log file in Remote Kernel Tracker to get a graphical view of the output. For more information, see Starting Remote Kernel Tracker in File Mode.
- Create a text version of the log file. For more information, see Viewing Logged Events with Readlog.
See Also
Tasks
Capturing Events With Custom Data Structures