Skip to content

Commit 8a0694b

Browse files
committed
fix: Make attributes optional for RecordLog.
1 parent 7c63a91 commit 8a0694b

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
@@ -214,7 +214,7 @@ public static void RecordUpDownCounter(string name, long delta, IDictionary<stri
214214
});
215215
}
216216

217-
public static void RecordLog(string message, LogLevel level, IDictionary<string, object> attributes)
217+
public static void RecordLog(string message, LogLevel level, IDictionary<string, object> attributes = null)
218218
{
219219
WithInstance(instance =>
220220
{

0 commit comments

Comments
 (0)