This is a major version bump due to taking a new dependency major
version. The API within the Google-owned code has no changes.
Version 4.0.0, released 2022-06-09
This is the first version of this package to depend on GAX v4.
There are some breaking changes, both in GAX v4 and in the generated
code. The changes that aren't specific to any given API aredescribed in the Google Cloud
documentation.
We don't anticipate any changes to most customer code, but pleasefile a
GitHub issueif you run into problems.
The most important change in this release is the use of the Grpc.Net.Client package
for gRPC communication, instead of Grpc.Core. When using .NET Core 3.1 or .NET 5.0+
this should lead to a smaller installation footprint and greater compatibility (e.g.
with Apple M1 chips). Any significant change in a core component comes with the risk
of incompatibility, however - so again, please let us know if you encounter any
issues.
Version 3.3.0, released 2021-03-22
Commit 9ed450c: refactor: Extract RenderJsonPayload from BuildLogEntry in GoogleStackdriverTarget
Commit f553511: docs: Add documentation for trace related config options in GoogleStackdriverTarget
Commit d94c27b: docs: Clarify XML doc for GoogleStackdriverTarget trace related options
Commit 0da1f45: test: Add more unit tests around log and trace correlation
Commitsa106579and858f161: feat: Add support for trace information to be included with log entries
Version 3.2.0, released 2020-12-07
Commit a0f7730: docs: Move NLog configuration into docs directory and expand it
Commit 932a8d1: feat: Adds EnableJsonLayout option to use custom jsonLayout
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version is 5.2.0, released on 2024-09-26, which includes an update to NLog version 5.3.4.\u003c/p\u003e\n"],["\u003cp\u003eVersion 5.1.0, released on 2024-03-28, changed the target framework from netstandard2.1 to netstandard2.0.\u003c/p\u003e\n"],["\u003cp\u003eVersion 5.0.0, released on 2024-03-12, involved dependency updates and promotion to GA status without any API changes.\u003c/p\u003e\n"],["\u003cp\u003eVersion 4.0.0 marked the first version to depend on GAX v4, which introduced some breaking changes and switched to using Grpc.Net.Client for gRPC communication.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.3.0, released on 2021-03-22, added support for trace information to be included with log entries, and it refactored RenderJsonPayload.\u003c/p\u003e\n"]]],[],null,["Version latestkeyboard_arrow_down\n\n- [5.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Logging.NLog/latest/history)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Logging.NLog/5.1.0/history)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Logging.NLog/5.0.0/history)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Logging.NLog/4.0.0/history)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Logging.NLog/3.3.0/history) \n\nVersion history\n===============\n\nVersion 5.2.0, released 2024-09-26\n----------------------------------\n\n### New features\n\n- Update NLog to 5.3.4 ([commit a2da879](https://github.com/googleapis/google-cloud-dotnet/commit/a2da87980e97abad96012e342077ba49bdd5921b))\n\nVersion 5.1.0, released 2024-03-28\n----------------------------------\n\n### New features\n\n- Change netstandard2.1 target to netstandard2.0 ([commit cba7759](https://github.com/googleapis/google-cloud-dotnet/commit/cba77591907c4a4594a184466534ee9e258bb5ef))\n\nVersion 5.0.0, released 2024-03-12\n----------------------------------\n\nNo API surface changes; just dependency updates and promotion to GA.\n\nVersion 5.0.0-beta01, released 2024-01-04\n-----------------------------------------\n\n### New features\n\n- Update NLog to 5.x ([commit 25820cf](https://github.com/googleapis/google-cloud-dotnet/commit/25820cf824e01ad1c3ac98a001db7c83d89f0ce2))\n\nThis is a major version bump due to taking a new dependency major\nversion. The API within the Google-owned code has no changes.\n\nVersion 4.0.0, released 2022-06-09\n----------------------------------\n\nThis is the first version of this package to depend on GAX v4.\n\nThere are some breaking changes, both in GAX v4 and in the generated\ncode. The changes that aren't specific to any given API are [described in the Google Cloud\ndocumentation](https://cloud.google.com/dotnet/docs/reference/help/breaking-gax4).\nWe don't anticipate any changes to most customer code, but please [file a\nGitHub issue](https://github.com/googleapis/google-cloud-dotnet/issues/new/choose)\nif you run into problems.\n\nThe most important change in this release is the use of the Grpc.Net.Client package\nfor gRPC communication, instead of Grpc.Core. When using .NET Core 3.1 or .NET 5.0+\nthis should lead to a smaller installation footprint and greater compatibility (e.g.\nwith Apple M1 chips). Any significant change in a core component comes with the risk\nof incompatibility, however - so again, please let us know if you encounter any\nissues.\n\nVersion 3.3.0, released 2021-03-22\n----------------------------------\n\n- [Commit 9ed450c](https://github.com/googleapis/google-cloud-dotnet/commit/9ed450c): refactor: Extract RenderJsonPayload from BuildLogEntry in GoogleStackdriverTarget\n- [Commit f553511](https://github.com/googleapis/google-cloud-dotnet/commit/f553511): docs: Add documentation for trace related config options in GoogleStackdriverTarget\n- [Commit d94c27b](https://github.com/googleapis/google-cloud-dotnet/commit/d94c27b): docs: Clarify XML doc for GoogleStackdriverTarget trace related options\n- [Commit 0da1f45](https://github.com/googleapis/google-cloud-dotnet/commit/0da1f45): test: Add more unit tests around log and trace correlation\n- Commits [a106579](https://github.com/googleapis/google-cloud-dotnet/commit/a106579) and [858f161](https://github.com/googleapis/google-cloud-dotnet/commit/858f161): feat: Add support for trace information to be included with log entries\n\nVersion 3.2.0, released 2020-12-07\n----------------------------------\n\n- [Commit a0f7730](https://github.com/googleapis/google-cloud-dotnet/commit/a0f7730): docs: Move NLog configuration into docs directory and expand it\n- [Commit 932a8d1](https://github.com/googleapis/google-cloud-dotnet/commit/932a8d1): feat: Adds EnableJsonLayout option to use custom jsonLayout\n\nVersion 3.1.0, released 2020-11-19\n----------------------------------\n\n- [Commit cbaa00a](https://github.com/googleapis/google-cloud-dotnet/commit/cbaa00a): Renormalize line endings\n- [Commit 02e2ddc](https://github.com/googleapis/google-cloud-dotnet/commit/02e2ddc): NLog GoogleStackDriverTarget skip reflection on Stream-objects ([issue 5230](https://github.com/googleapis/google-cloud-dotnet/issues/5230))\n- [Commit 0e6d135](https://github.com/googleapis/google-cloud-dotnet/commit/0e6d135): NLog GoogleStackdriverTarget improve handling of System.Reflection (MemberInfo is better than MethodInfo)\n\nVersion 3.0.1, released 2020-04-20\n----------------------------------\n\n- [Commit ced67e4](https://github.com/googleapis/google-cloud-dotnet/commit/ced67e4): Fix: Improve handling of System.Reflection objects that will dump all types in the application-assembly.\n\nVersion 3.0.0, released 2020-03-18\n----------------------------------\n\nNo API surface changes compared with 3.0.0-beta02, just dependency\nchanges.\n\nVersion 3.0.0-beta02, released 2020-03-10\n-----------------------------------------\n\n- [Commit 528388f](https://github.com/googleapis/google-cloud-dotnet/commit/528388f): Configured Project ID takes precedence over Project ID of project in which the code is running for using as log writing target.\n\nVersion 3.0.0-beta01, released 2020-02-18\n-----------------------------------------\n\nThis is the first prerelease targeting GAX v3. Please see the [breaking changes\nguide](https://cloud.google.com/dotnet/docs/reference/help/breaking-gax2)\nfor details of changes to both GAX and code generation.\n\nThis package has not taken any direct breaking changes, but has a major version number change due to its dependencies.\n\nVersion 2.2.0, released 2019-12-10\n----------------------------------\n\n- [Commit e708f35](https://github.com/googleapis/google-cloud-dotnet/commit/e708f35): Improve handling of dangerous object properties that throws exceptions during Json.Net serialization. ([issue 3668](https://github.com/googleapis/google-cloud-dotnet/issues/3668))\n\nVersion 2.1.0, released 2019-07-10\n----------------------------------\n\n- [Commit 4cb5765](https://github.com/googleapis/google-cloud-dotnet/commit/4cb5765): Include ServiceContext to allow errors to be forwarded (docs) ([issue 3125](https://github.com/googleapis/google-cloud-dotnet/issues/3125))\n- [Commit dac0dbd](https://github.com/googleapis/google-cloud-dotnet/commit/dac0dbd): Include ServiceContext to allow errors to be forwarded ([issue 3115](https://github.com/googleapis/google-cloud-dotnet/issues/3115))\n- [Commit d007553](https://github.com/googleapis/google-cloud-dotnet/commit/d007553): Avoid InvalidCastException for custom IConvertible that returns TypeCode.Boolean ([issue 3088](https://github.com/googleapis/google-cloud-dotnet/issues/3088))\n\nVersion 2.0.0, released 2019-02-26\n----------------------------------\n\nInitial GA release."]]