EzElement.XamlConsoleApender
1.0.0
dotnet add package EzElement.XamlConsoleApender --version 1.0.0
NuGet\Install-Package EzElement.XamlConsoleApender -Version 1.0.0
<PackageReference Include="EzElement.XamlConsoleApender" Version="1.0.0" />
paket add EzElement.XamlConsoleApender --version 1.0.0
#r "nuget: EzElement.XamlConsoleApender, 1.0.0"
// Install EzElement.XamlConsoleApender as a Cake Addin #addin nuget:?package=EzElement.XamlConsoleApender&version=1.0.0 // Install EzElement.XamlConsoleApender as a Cake Tool #tool nuget:?package=EzElement.XamlConsoleApender&version=1.0.0
XamlConsoleAppender Documentation version 1.0.0
################ Valid Properties ################
- OnlyInDebug (bool) default : true
- FontSize (int) default : 14
- InfoColor (string) default : "White"
- WarnColor (string) default : "White"
- ErrorColor (string) default : "White"
- DebugColor (string) default : "White"
**Please note you dont need to specify all the properties in config file, if you wont the default value would be apllied.
############ Valid Colors ############
- "White"
- "Black"
- "Red"
- "DarkRed"
- "LightGreen"
- "DarkGreen"
- "LightBlue"
- "Blue"
- "DarkBlue"
- "Brown"
- "Cyan"
- "LightPink"
- "DeepPink"
- "Yellow"
- "YellowGreen"
- "Purple"
################################ Example for configuring appender ################################ <log4net> <root> <level value="INFO" /> <appender-ref ref="file" /> <appender-ref ref="XamlConsoleAppender" /> </root>
<appender name="XamlConsoleAppender" type="EzXamlConsoleApender.Appender.XamlConsoleAppender, EzXamlConsoleApender">
<OnlyInDebug>true</OnlyInDebug>
<FontSize>15</FontSize>
<InfoColor value="Green"/>
<WarnColor value="Yellow"/>
<ErrorColor value="Red"/>
<DebugColor value="Purple"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%date] [%level] [%logger] - %message" />
</layout>
</appender>
<appender name="file" type="log4net.Appender.RollingFileAppender">
<file type="log4net.Util.PatternString" value="%envFolderPath{MyDocuments}\SomeFile.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="5" />
<maximumFileSize value="25MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%date] [%level] [%logger] - %message%newline" />
</layout>
</appender>
</log4net>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- EzElement.MvvmInfra (>= 1.0.0)
- log4net (>= 2.0.14)
-
net6.0-windows7.0
- EzElement.MvvmInfra (>= 1.0.0)
- log4net (>= 2.0.14)
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 |
---|---|---|
1.0.0 | 253 | 3/31/2022 |