-
Notifications
You must be signed in to change notification settings - Fork 157
Logging
JaCraig edited this page Dec 10, 2014
·
1 revision
The Logging system within the library is really just a convenience layer surrounding other logging systems. For instance, you can write:
Utilities.IO.Log.Get("Default").LogMessage("My Message",MessageType.Debug);
This bit of code, with the appropriate logging plugin, will work similarly if you're using NLog or log4net. No code changes are needed if you wish to switch from one to the other. Instead you would just switch out the plugin and change any configuration that the system needs in order to run. Note that the library comes with a default logging system but it uses a convention based naming system for the log files that are created.