This is a shared library where you can use across several applications you have. It contains the following projects
- Caller : Contains the log4net configuration and sample code to use the logging library
- Logging : The shared libarary which provdes a way to log asynchronously
- LoggingDb : Database scripts for creating tables and stored procedures to support logging to database
In this project we are just logging few parameters like 'message','reference id','host'. You can add more properties to log just as ReferenceID.
These are steps to add an new property to log
- Add new column in table.(if you want to log that to database)
- Update stored procedure
- Add a new property in Interface "ILogger".
- Update all the appenders in web/app config file of the project in which you are using this logging library.