-
Notifications
You must be signed in to change notification settings - Fork 2
Diagnostics
Kieron Lanning edited this page Feb 2, 2025
·
7 revisions
| ID | Level | Description |
|---|---|---|
TSG1000 |
Error |
Fatal execution error occurred. |
TSG1001 |
Error |
Inferring generation targets is not supported when using multi-target generation. |
TSG1002 |
Error |
Multiple generation types are not supported. |
| ID | Level | Description |
|---|---|---|
TSG2000 |
Error |
Too many exception parameters. |
TSG2001 |
Error |
More than 6 parameters, which is unsupported bug the logging generation framework. |
TSG2002 |
Info |
Inferring error log level. |
TSG2003 |
Error |
Microsoft.Extensions.Logging.ILogger wasn't found/ referenced, but a generation was attempted. |
| ID | Level | Description |
|---|---|---|
TSG3000 |
Warning |
Baggage parameter types only accept strings. |
TSG3001 |
Warning |
No activity source specified. |
TSG3002 |
Error |
Invalid return type. |
TSG3003 |
Error |
Duplicate reserved parameters defined. |
TSG3004 |
Error |
Activity parameter is not valid. |
TSG3005 |
Error |
Timestamp parameter is not valid. |
TSG3006 |
Error |
Start time parameter is not valid on Create activity or Event method. |
TSG3007 |
Error |
Parent context or Parent Id parameter is not valid on event. |
TSG3008 |
Error |
Activity links parameters are not valid on events or context methods. |
TSG3009 |
Error |
Activity tags parameter are not valid on context methods. |
TSG3010 |
Error |
Escaped parameters must be a boolean. |
TSG3011 |
Error |
Escaped parameters are only valid on Events, not Activity or Context methods. |
TSG3012 |
Info |
There is no Activity method defined, only Event and/ or Context. This means the Activity.Current is assumed which much be created manually. |
TSG3013 |
Warning |
The activity method does not return an Activity. |
TGS3014 |
Warning |
The Event and/ or Context method should have an Activity or Activity? parameter. |
TGS3015 |
Info |
For readability, include the Activity parameter as the first one. |
| ID | Level | Description |
|---|---|---|
TSG4000 |
Error |
No instrument defined. |
TSG4001 |
Error |
Must return void or bool. |
TSG4002 |
Error |
Auto increment counter and measurement defined. |
TSG4003 |
Error |
Multiple measurement values defined. |
TSG4004 |
Error |
No measurement value defined. |
TSG4005 |
Error |
Observable instrument requires Func<T>. |
TSG4006 |
Error |
Invalid measurement type. |
Important
Consider helping children around the world affected by conflict. You can donate any amount to War Child here - any amount can help save a life.
Purview Telemetry Source Generator v4.0.0-prerelease.1 | Home | Getting Started | FAQ | Breaking Changes | GitHub