Skip to content

nullbyte01/SharpLogging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SharpLogging

GitHub license NuGet NugGt Version

A Log library developed in C# for .NET Framework, easy to use and minimalist. To use library either download from here or you can use NuGet Package Manager.

Get it from NuGet

Install-Package SharperLogNet -Version 1.1.0

Or Add Refrences by right clicking on your solution and adding references.

CODE

using SharpLogging;

//you can place the code like load event in any event

 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
        SharpLogging.SharpLogging sg = new SharpLogging.SharpLogging();
        sg.Logger("Test");
 }

By default if you dont specify path the log txt file will be saved in MyDocuments folder.

To Specify Path use this code

sg.savepath = "D:\\myfolder";

Example Log

Example

About

A logger library programmed in c#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published