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
{{ message }}
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
Adem Catamak edited this page Mar 25, 2018
·
7 revisions
When package is installed with adapter, log4net.config file (RapidLogger.Log4NetAdapter) or nlog.config file
(RapidLogger.NLogAdapter) are added in project.
Project has own config file and other requirements, so you do not have to change anything.
On the other hand, if you want, you can change "log4net.config" or "nlog.config" file. Moreover, if you have own custom config file, you can use it.
Note: ConfigFilePath can be both relative or absolute
Usage Example
I presume you do not change anything and I give example on that version.
You have to check one thing and then you can use logger directly. log4net/nlog.config file properties be like that => "Build Action" = "Content" and "Copy to Output Directory" = "Copy Always | Copy If Newer".
(This properties are modified automatically during nuget package installation)