Skip to content

Commit 0367c7d

Browse files
committed
Added code and category properties in typemappings
1 parent da1e780 commit 0367c7d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

typescript/elmahio.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ declare namespace Elmahio {
187187
* CorrelationId can be used to group similar log messages together into a single discoverable batch. A correlation ID could be a session ID from ASP.NET Core, a unique string spanning multiple microsservices handling the same request, or similar.
188188
*/
189189
correlationId: string;
190+
/**
191+
* Code can be used to include source code related to the log message. The code will typically span from a few lines before the line causing the log message to a few lines after.
192+
*/
193+
code: string;
194+
/**
195+
* The log message category. Category can be a string of choice but typically contain a logging category set by a logging framework.
196+
*/
197+
category: string;
190198
/**
191199
* A key/value pair of cookies. This property only makes sense for logging messages related to web requests.
192200
*/

0 commit comments

Comments
 (0)