You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loglevel added, classification changed to optional, swagger code fixes to eventspost/async with reponse to populate data with server message. Added EnvLanguage and deployment stage property, name now becomes the runtime interpreter name and envVersion now works as intended.
/// A constant property with the name of the language this is compiled from. Is set in a constructor argument (so you can pass in managed c++ or VB), but defaults to c#
65
+
/// </summary>
66
+
publicstringcontextEnvLanguage{get;}
67
+
68
+
/// <summary>
69
+
/// Name of the CLI the program is running on.
70
+
/// </summary>
63
71
publicstringcontextEnvName{get;set;}
64
72
65
73
/// <summary>
66
74
/// The version of the CLI the application is run on.
67
75
/// </summary>
68
-
publicstringContextEnvVersion{get;set;}
76
+
publicstringcontextEnvVersion{get;set;}
69
77
70
78
/// <summary>
71
79
/// The hostname of the pc running the application.
72
80
/// </summary>
73
-
publicstringContextEnvHostname{get;set;}
81
+
publicstringcontextEnvHostname{get;set;}
74
82
75
83
/// <summary>
76
84
/// The OS the application is running on.
77
85
/// </summary>
78
-
publicstringContextAppOS{get;set;}
86
+
publicstringcontextAppOS{get;set;}
79
87
80
88
/// <summary>
81
89
/// The version of the OS the application is running on.
82
90
/// </summary>
83
-
publicstringContextAppOSVersion{get;set;}
91
+
publicstringcontextAppOSVersion{get;set;}
84
92
85
93
/// <summary>
86
94
/// Optional. Useful For MVC and ASP.net applications the browser name the application is running on.
87
95
/// </summary>
88
-
publicstringContextAppOSBrowser{get;set;}
96
+
publicstringcontextAppOSBrowser{get;set;}
89
97
90
98
/// <summary>
91
99
/// Optional. Useful for MVC and ASP.net applications the browser version the application is running on.
92
100
/// </summary>
93
-
publicstringContextAppOSBrowserVersion{get;set;}
101
+
publicstringcontextAppOSBrowserVersion{get;set;}
94
102
95
103
/// <summary>
96
104
/// Optional. Datacenter the application may be running on.
97
105
/// </summary>
98
-
publicstringContextDataCenter{get;set;}
106
+
publicstringcontextDataCenter{get;set;}
99
107
100
108
/// <summary>
101
109
/// Optional. Datacenter region the application may be running on.
102
110
/// </summary>
103
-
publicstringContextDataCenterRegion{get;set;}
111
+
publicstringcontextDataCenterRegion{get;set;}
104
112
105
113
/// <summary>
106
114
/// Create a new Trakerr client to use in your application. This class is thread-safe and can be invoked from multiple threads. This class also acts as a factory to create new AppEvent's with the supplied apiKey and other data.
107
115
/// </summary>
108
116
/// <param name="apiKey">API Key for your application, defaults to reading "trakerr.apiKey" property under appSettings from the App.config.</param>
109
117
/// <param name="contextAppVersion">Provide the application version, defaults to reading "trakerr.contextAppVersion" property under appSettings from the App.config.</param>
110
-
/// <param name="contextEnvName">Provide the environemnt name (development/staging/production). You can also pass in a custom name. Defaults to reading "trakerr.contextEnvName" property under appSettings from the App.config</param>
/// <param name="contextDeploymentStage">Provide the string representation of the deployment stage (development/staging/production). You can also pass in a custom name. Defaults to reading "trakerr.contextDeploymentStage" property under appSettings from the App.config</param>
119
+
/// <param name="contextEnvLanguage">String representation of the language being used. If not provided defaults to C#, but can be passed other items in a string like "VB" or "Managed C++"</param>
/// Use this to bootstrap a new AppEvent object with the supplied classification, event type and message.
181
+
/// Use this to bootstrap a new AppEvent object with the supplied logLevel, classification, event type and message.
151
182
/// </summary>
152
-
/// <param name="classification">Classification (Error/Warning/Info/Debug or custom string), defaults to "Error".</param>
183
+
/// <param name="logLevel">String representation of the level (Error/Warning/Info/Debug) of the error, defaults to "Error" if null or passed in something else.</param>
184
+
/// <param name="classification">Optional extra string descriptor. Defaults to issue.</param>
153
185
/// <param name="eventType">Type of event (eg. System.Exception), defaults to "unknonwn"</param>
154
186
/// <param name="eventMessage">Message, defaults to "unknown"</param>
0 commit comments