Skip to content

Commit c8617fb

Browse files
Copilotsourabh1007
andcommitted
Update ITrace documentation to note thread safety
Co-authored-by: sourabh1007 <[email protected]>
1 parent 7eb6299 commit c8617fb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Microsoft.Azure.Cosmos/src/Tracing/ITrace.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,23 @@ ITrace StartChild(
9090

9191
/// <summary>
9292
/// Adds a datum to the this trace instance.
93+
/// This method is thread-safe.
9394
/// </summary>
9495
/// <param name="key">The key to associate the datum.</param>
9596
/// <param name="traceDatum">The datum itself.</param>
9697
void AddDatum(string key, TraceDatum traceDatum);
9798

9899
/// <summary>
99100
/// Adds a datum to the this trace instance.
101+
/// This method is thread-safe.
100102
/// </summary>
101103
/// <param name="key">The key to associate the datum.</param>
102104
/// <param name="value">The datum itself.</param>
103105
void AddDatum(string key, object value);
104106

105107
/// <summary>
106108
/// Updates the given datum in this trace instance if exists, otherwise Add
109+
/// This method is thread-safe.
107110
/// </summary>
108111
/// <param name="key">The key to associate the datum.</param>
109112
/// <param name="value">The datum itself.</param>

0 commit comments

Comments
 (0)