Info
Version: | 1.0.0 |
Author(s): | Nirav Dalsaniya |
Last Update: | Wednesday, July 17, 2019 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/LogSpot |
Install
Install-Package LogSpot
dotnet add package LogSpot
paket add LogSpot
LogSpot Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Used with this provides you with a quick, simple and easy way to log messages with LogSpot.
Also includes a simple way to changing path user can change Target file of logs from configuration, which is awesome when used on a server or any virtual location.
LogSpot can be used by adding only two lines of code to your controller,
LogSpot.Logger LSpotLogger = new LogSpot.Logger();
LSpotLogger.AddLog("Error Message is here", LogSpot.MessageType.Error);
There is also a Three different Error types available in LogSpot for User Identification,
1) Error
2) Success
3) Info
Also, User can change location of Log Output file from web.config by adding path value to "LogSpotSource" from appSettings.