EonaCatCoreLogger 1.0.1

Suggested Alternatives

EonaCat.Logger

Additional Details

Deprecated - Use the .NET standard package for more platform compatibility support

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package EonaCatCoreLogger --version 1.0.1
NuGet\Install-Package EonaCatCoreLogger -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EonaCatCoreLogger" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EonaCatCoreLogger --version 1.0.1
#r "nuget: EonaCatCoreLogger, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EonaCatCoreLogger as a Cake Addin
#addin nuget:?package=EonaCatCoreLogger&version=1.0.1

// Install EonaCatCoreLogger as a Cake Tool
#tool nuget:?package=EonaCatCoreLogger&version=1.0.1

EonaCatCoreLogger

Below you can find an example on how to implement a logger instance:

namespace Example
{
    // EonaCatCoreLogger.
    // Copyright EonaCat (Jeroen Saey) 2017
    // https://eonacat.com

   using EonaCat.Logger;
   using EonaCat.Logger.Managers;

   public static class Logger
   {
       public static ELogType LogLevel = ELogType.DEBUG;

       private static readonly LogManager _logManager = new LogManager("Log folder location path");

       public static void Log(string message, ELogType logType = ELogType.INFO)
       {
           _logManager.Write(message, logType, LogLevel);
       }
   }
}

How to call the instance:

Logger.Log("This is a info message for the EonaCatCoreLogger");    //Depending on your default settings above
Logger.Log("This is a debug message for the EonaCatCoreLogger", ELogType.DEBUG);
Logger.Log("This is a warning message for the EonaCatCoreLogger", ELogType.WARNING);
Logger.Log("This is a error message for the EonaCatCoreLogger", ELogType.ERROR);
Logger.Log("This is a critical message for the EonaCatCoreLogger", ELogType.CRITICAL);
Logger.Log("This is a trace message for the EonaCatCoreLogger", ELogType.TRACE);
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

Public release version 1.0.1