Skip to content

Commit 806ce08

Browse files
authored
fix: Make attributes optional for RecordLog. (#202)
## Summary The attributes parameter to RecordLog should have been optional. ## How did you test this change? <!-- Frontend - Leave a screencast or a screenshot to visually describe the changes. --> ## Are there any deployment considerations? <!-- Backend - Do we need to consider migrations or backfilling data? -->
1 parent 5e3b1e1 commit 806ce08

File tree

1 file changed

+1
-1
lines changed
  • sdk/@launchdarkly/observability-dotnet/src/LaunchDarkly.Observability

1 file changed

+1
-1
lines changed

sdk/@launchdarkly/observability-dotnet/src/LaunchDarkly.Observability/Observe.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public static void RecordUpDownCounter(string name, long delta, IDictionary<stri
294294
/// <param name="message">the log message</param>
295295
/// <param name="level">the log level</param>
296296
/// <param name="attributes">any additional attributes to add to the log entry</param>
297-
public static void RecordLog(string message, LogLevel level, IDictionary<string, object> attributes)
297+
public static void RecordLog(string message, LogLevel level, IDictionary<string, object> attributes = null)
298298
{
299299
WithInstance(instance =>
300300
{

0 commit comments

Comments
 (0)