dmuka3.CS.Simple.LogW 1.0.0

Package Description

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

dmuka3.CS.Simple.LogW

This library provides you to write your logs to your log files daily.

Nuget

Link : https://www.nuget.org/packages/dmuka3.CS.Simple.LogW

Install-Package dmuka3.CS.Simple.LogW

Example 1

We will save our logs as csv format. You can see through open with excel.

// Schema is fairly easy to be understood.
// TYPE, DATETIME, TITLE, DESCRIPTION, PROCESS DATA
// Taking an info log.
var infoTime = LogWriter.AddLine(LogWriter.LogType.Info, "NUnit-Log", "This is a info log.", new
{
   info = new
   {
       data = true
   }
});

// Taking a warning log.
var warningTime = LogWriter.AddLine(LogWriter.LogType.Warning, "NUnit-Log", "This is a warning log.", new
{
   warning = new
   {
       data = true
   }
});

// Taking an error log.
var errorTime = LogWriter.AddLine(LogWriter.LogType.Error, "NUnit-Log", "This is a error log.", new
{
   error = new
   {
       data = true
   }
});

dmuka3.CS.Simple.LogW

This library provides you to write your logs to your log files daily.

Nuget

Link : https://www.nuget.org/packages/dmuka3.CS.Simple.LogW

Install-Package dmuka3.CS.Simple.LogW

Example 1

We will save our logs as csv format. You can see through open with excel.

// Schema is fairly easy to be understood.
// TYPE, DATETIME, TITLE, DESCRIPTION, PROCESS DATA
// Taking an info log.
var infoTime = LogWriter.AddLine(LogWriter.LogType.Info, "NUnit-Log", "This is a info log.", new
{
   info = new
   {
       data = true
   }
});

// Taking a warning log.
var warningTime = LogWriter.AddLine(LogWriter.LogType.Warning, "NUnit-Log", "This is a warning log.", new
{
   warning = new
   {
       data = true
   }
});

// Taking an error log.
var errorTime = LogWriter.AddLine(LogWriter.LogType.Error, "NUnit-Log", "This is a error log.", new
{
   error = new
   {
       data = true
   }
});

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 149 10/31/2019