AvalonLog 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AvalonLog --version 0.1.0
NuGet\Install-Package AvalonLog -Version 0.1.0
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="AvalonLog" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvalonLog --version 0.1.0
#r "nuget: AvalonLog, 0.1.0"
#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 AvalonLog as a Cake Addin
#addin nuget:?package=AvalonLog&version=0.1.0

// Install AvalonLog as a Cake Tool
#tool nuget:?package=AvalonLog&version=0.1.0

AvalonLog

logo

A threadsave and colorful WPF text viewer for F# based on AvalonEditB

Usage

#r "PresentationCore"
#r "PresentationFramework"
#r "WindowsBase"
#r "AvalonEditB.dll" 
#r "AvalonLog.dll"

open System.Windows

let log = new AvalonLog.AvalonLog() 
let red =  log.printfColor 255 0 0
let blue = log.printfnColor 0 0 255
let green = log.printfnColor 0 155 0

red "%s" "Hello, "
blue "%s" "World!"
red "%s" "The answer is "
green "%d"  (40+2)

Application().Run(Window(Content=log))  // show WPF window

this will produce

WPF window

Product Compatible and additional computed target framework versions.
.NET net5.0-windows7.0 is compatible.  net6.0-windows was computed.  net7.0-windows was computed.  net8.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.12.0 312 10/29/2023
0.11.0 136 9/10/2023
0.10.0 162 7/27/2023
0.9.3 148 5/29/2023
0.9.2 148 5/29/2023
0.9.1 159 4/29/2023
0.9.0 170 4/23/2023
0.8.3 304 1/8/2023
0.8.2 291 12/17/2022
0.8.1 304 12/17/2022
0.7.1 418 8/6/2022
0.7.0 420 3/26/2022
0.6.0 6,010 1/11/2022
0.5.0 276 12/11/2021
0.4.0 309 10/19/2021
0.3.1 319 9/27/2021
0.3.0 330 8/23/2021
0.2.0 313 8/22/2021
0.1.0 357 8/21/2021

First release