nk.logger.csv 2.1.0

A Logger to log errors and exceptions inrto a CSV file.

Install-Package nk.logger.csv -Version 2.1.0
dotnet add package nk.logger.csv --version 2.1.0
<PackageReference Include="nk.logger.csv" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nk.logger.csv --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

For full documentation view in: https://kolappannathan.github.io/projects/simple-csv-logger/

Usage

  • Install the NuGet package.
  • Create a csvlogger instance in your base class.
  • Pass the filename, datetime, relative path and other parameters according to your application.
  • Create wrapper functions for the functions you need from csv.logger.
  • Inherit this base class in your other classes.

Code Sample

public class Base
{
  private nk.logger.csv.Logger csvLogger;
 
  public Base()
  {
     csvLogger = new nk.logger.csv.Logger();
  }
            
  public void Error(Exception ex)
  {
     csvLogger.Error(ex);
  }
}

For full documentation view in: https://kolappannathan.github.io/projects/simple-csv-logger/

Usage

  • Install the NuGet package.
  • Create a csvlogger instance in your base class.
  • Pass the filename, datetime, relative path and other parameters according to your application.
  • Create wrapper functions for the functions you need from csv.logger.
  • Inherit this base class in your other classes.

Code Sample

public class Base
{
  private nk.logger.csv.Logger csvLogger;
 
  public Base()
  {
     csvLogger = new nk.logger.csv.Logger();
  }
            
  public void Error(Exception ex)
  {
     csvLogger.Error(ex);
  }
}

  • .NETStandard 2.0

    • No dependencies.

GitHub repositories (0)

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 276 8/6/2019
2.0.1 131 7/5/2019
2.0.0 114 7/4/2019
1.0.2 127 6/28/2019
1.0.1 310 10/24/2018
1.0.0 225 9/20/2018