You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -54,18 +54,20 @@ Then add the relevant sections to your `app.config` or `web.config`:
54
54
```
55
55
56
56
## NLog Quickstart
57
-
There are different packages for each major NLog version. Install the correct package for your referenced NLog version. This example installs the adapter for NLog v2.0:
57
+
There are different packages for each major NLog version. Install the correct package for your referenced NLog version. This example installs the adapter for NLog v4.1:
58
58
59
-
PM> Install-Package Common.Logging.NLog20
59
+
PM> Install-Package Common.Logging.NLog41
60
60
61
-
If you are using NLog v3.0, you should install the `Common.Logging.NLog30` package and so on.
61
+
If you are using NLog v4.0, you should install the `Common.Logging.NLog40` package and so on.
62
+
63
+
NB: Because NLog is using semver and the same strong name for every major version, Common.Logging.NLog40 and Common.Logging.NLog41 works for all NLog 4.x version. Common.Logging.NLog41 is the recommend version
62
64
63
65
The app config should then have a common logging section like below. Be sure to match the `factoryAdapter type` with your installed `Common.Logging.NLogXX` version.
0 commit comments