Muscula.Csharp.Extensions.Logging.Log4Net 1.0.0

Package Description

There is a newer version of this package available.
See the version list below for details.
Install-Package Muscula.Csharp.Extensions.Logging.Log4Net -Version 1.0.0
dotnet add package Muscula.Csharp.Extensions.Logging.Log4Net --version 1.0.0
<PackageReference Include="Muscula.Csharp.Extensions.Logging.Log4Net" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Muscula.Csharp.Extensions.Logging.Log4Net --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Muscula.Csharp.Extensions.Logging.Log4Net, 1.0.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
// Install Muscula.Csharp.Extensions.Logging.Log4Net as a Cake Addin
#addin nuget:?package=Muscula.Csharp.Extensions.Logging.Log4Net&version=1.0.0

// Install Muscula.Csharp.Extensions.Logging.Log4Net as a Cake Tool
#tool nuget:?package=Muscula.Csharp.Extensions.Logging.Log4Net&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Muscula Csharp Extensions Logging For .Net Core.

Register at https://muscula.com
Create new project and new log.

Configuration for Log4Net

In startup.cs add

            services.AddLogging(b => b.AddLog4Net("log4net.config"));

And provide log4net.config file

<?xml version="1.0" encoding="utf-8" ?>
<log4net>
    <appender name="MusculaAppender" type="Muscula.Csharp.Extensions.Logging.Log4Net.MusculaAppender, Muscula.Csharp.Extensions.Logging.Log4Net" >
        <layout type="log4net.Layout.PatternLayout">
            <conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
        </layout>
        <MusculaSettings>
            <LogId value="LOG_ID" />
        </MusculaSettings>
    </appender>
    <root>
        <level value="ALL" />
        <appender-ref ref="MusculaAppender" />
    </root>
</log4net>

Muscula Csharp Extensions Logging For .Net Core.

Register at https://muscula.com
Create new project and new log.

Configuration for Log4Net

In startup.cs add

            services.AddLogging(b => b.AddLog4Net("log4net.config"));

And provide log4net.config file

<?xml version="1.0" encoding="utf-8" ?>
<log4net>
    <appender name="MusculaAppender" type="Muscula.Csharp.Extensions.Logging.Log4Net.MusculaAppender, Muscula.Csharp.Extensions.Logging.Log4Net" >
        <layout type="log4net.Layout.PatternLayout">
            <conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
        </layout>
        <MusculaSettings>
            <LogId value="LOG_ID" />
        </MusculaSettings>
    </appender>
    <root>
        <level value="ALL" />
        <appender-ref ref="MusculaAppender" />
    </root>
</log4net>

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.1 87 12/4/2020
1.0.0 133 9/15/2020