diff options
| author | Saumit <justsaumit@protonmail.com> | 2025-09-27 02:14:26 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2025-09-27 02:14:26 +0530 |
| commit | 82e03978b89938219958032efb1448cc76baa181 (patch) | |
| tree | 626f3e54d52ecd49be0ed3bee30abacc0453d081 /src/accounting/Log.cs | |
Initial snapshot - OpenTelemetry demo 2.1.3 -f
Diffstat (limited to 'src/accounting/Log.cs')
| -rw-r--r-- | src/accounting/Log.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/accounting/Log.cs b/src/accounting/Log.cs new file mode 100644 index 0000000..e18af0e --- /dev/null +++ b/src/accounting/Log.cs @@ -0,0 +1,16 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +using Microsoft.Extensions.Logging; +using Oteldemo; + +namespace Accounting +{ + internal static partial class Log + { + [LoggerMessage( + Level = LogLevel.Information, + Message = "Order details: {@OrderResult}.")] + public static partial void OrderReceivedMessage(ILogger logger, OrderResult orderResult); + } +} |
