Skip to content

Instantly share code, notes, and snippets.

@tianweiliu
Created September 21, 2015 16:13
Show Gist options
  • Save tianweiliu/55c8a1246daa3de988a5 to your computer and use it in GitHub Desktop.
Save tianweiliu/55c8a1246daa3de988a5 to your computer and use it in GitHub Desktop.
Generic Windows Instrumentation Manifest for Cinder
<?xml version="1.0" encoding="UTF-16"?>
<instrumentationManifest xsi:schemaLocation="http://schemas.microsoft.com/win/2004/08/events eventman.xsd" xmlns="http://schemas.microsoft.com/win/2004/08/events" xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:trace="http://schemas.microsoft.com/win/2004/08/events/trace">
<instrumentation>
<events>
<provider name="myCinderApp" guid="{3CC9AD90-4C2C-4775-8B4A-4EB012C76E1A}" symbol="myCinderApp" resourceFileName="C:\myCinderApp.exe" messageFileName="C:\myCinderApp.exe">
<events>
<event symbol="verbose" value="100" version="0" channel="Application" level="win:Informational" template="cinder" keywords="cinder " message="$(string.target-iot.event.100.message)">
</event>
<event symbol="info" value="101" version="0" channel="Application" level="win:Informational" template="cinder" keywords="cinder " message="$(string.target-iot.event.101.message)">
</event>
<event symbol="warning" value="102" version="0" channel="Application" level="win:Warning" template="cinder" keywords="cinder " message="$(string.target-iot.event.102.message)">
</event>
<event symbol="error" value="103" version="0" channel="Application" level="win:Error" template="cinder" keywords="cinder " message="$(string.target-iot.event.103.message)">
</event>
<event symbol="critical" value="104" version="0" channel="Application" level="win:Critical" template="cinder" keywords="cinder " message="$(string.target-iot.event.104.message)">
</event>
</events>
<levels>
</levels>
<channels>
<importChannel name="Application" chid="Application">
</importChannel>
</channels>
<keywords>
<keyword name="cinder" symbol="cinder" mask="0x800000000000">
</keyword>
</keywords>
<templates>
<template tid="cinder">
<data name="Metadata" inType="win:UnicodeString" outType="xs:string">
</data>
<data name="Message" inType="win:UnicodeString" outType="xs:string">
</data>
</template>
</templates>
</provider>
</events>
</instrumentation>
<localization>
<resources culture="en-US">
<stringTable>
<string id="target-iot.event.104.message" value="%1 %2">
</string>
<string id="target-iot.event.103.message" value="%1 %2">
</string>
<string id="target-iot.event.102.message" value="%1 %2">
</string>
<string id="target-iot.event.101.message" value="%1 %2">
</string>
<string id="target-iot.event.100.message" value="%1 %2">
</string>
<string id="level.Warning" value="Warning">
</string>
<string id="level.Verbose" value="Verbose">
</string>
<string id="level.Informational" value="Information">
</string>
<string id="level.Error" value="Error">
</string>
<string id="level.Critical" value="Critical">
</string>
<string id="channel.Application" value="Application">
</string>
</stringTable>
</resources>
</localization>
</instrumentationManifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment