Chickensoft.GoDotLog 0.0.2

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

// Install Chickensoft.GoDotLog as a Cake Tool
#tool nuget:?package=Chickensoft.GoDotLog&version=0.0.2                

GoDotLog

Opinionated Godot logging interface and console implementation.

public class MyEntity {
  // Create a log which outputs messages prefixed with the name of the class.
  private ILog _log = new GDLog(nameof(MyClass));
}

Logs can perform a variety of common actions (and output messages if they fail automatically):

_log.Print("My message");

_log.Warn("My message");

_log.Error("My message");

// Run a potentially unsafe action. Any errors thrown from the action will
// be output by the log. An optional error handler callback can be provided
// which will be invoked before the exception is rethrown.
_log.Run(
  () => { _log.Print("Potentially unsafe action"); },
  (e) => {
    _log.Error("Better clean up after myself...whatever I did failed.");
  }
);

// Throw an assertion exception with the given message if the assertion fails.
_log.Assert(node.Name == "MyNode", "Must be valid node name.");

// Return the value of a function or a fallback value.
var result = _log.Always<T>(
  () => new Random().Next(0, 10) > 5 ? "valid value" : null,
  "fallback value"
);

// Print a decently formatted stack trace.
_log.Print(new StackTrace());
Product 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.  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.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Chickensoft.GoDotLog:

Package Downloads
Chickensoft.GoDotTest

C# test runner for Godot. Run tests from the command line, collect code coverage, and debug tests in VSCode.

Chickensoft.GoDotNet

State machines, notifiers, and other utilities for C# Godot development.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 339 8/15/2024
1.1.27 131 8/15/2024
1.1.26-godot4.3.0-rc.3 4,590 8/8/2024
1.1.25-godot4.3.0-rc.2 97 8/1/2024
1.1.24-godot4.3.0-rc.1 71 7/27/2024
1.1.23-godot4.3.0-beta.3 156 7/9/2024
1.1.22-godot4.3.0-beta.2 212 6/20/2024
1.1.21-godot4.3.0-beta.1 288 5/31/2024
1.1.20 1,762 4/24/2024
1.1.19 118 4/24/2024
1.1.18-godot4.2.2-rc.1 8,851 1/26/2024
1.1.17 4,676 12/12/2023
1.1.16-godot4.2.1-rc.1 688 12/7/2023
1.1.15 201 11/30/2023
1.1.14-godot4.2.0-rc.2 1,138 11/25/2023
1.1.13-godot4.2.0-beta.5 644 11/7/2023
1.1.12-godot4.2.0-beta.2 195 10/20/2023
1.1.11 3,295 10/4/2023
1.1.10 793 8/21/2023
1.1.9 9,623 7/12/2023
1.1.8-godot4.1.0-rc.3 1,544 7/4/2023
1.1.7-godot4.1.0-rc.2 155 6/29/2023
1.1.6-godot4.1.0-rc.1 145 6/27/2023
1.1.5-godot4.1.0-beta.2 163 6/14/2023
1.1.4 299 5/19/2023
1.1.3-godot4.0.3-rc.1 365 4/27/2023
1.1.2 791 4/4/2023
1.1.1-godot4.0.2-rc.1 193 4/2/2023
1.1.0-godot4.0.2-rc.1 93 4/2/2023
1.0.2-godot.4.beta.16 115 1/30/2023
1.0.2-beta8 136 12/17/2022
1.0.2-beta6 103 11/24/2022
1.0.2-beta3 105 10/29/2022
1.0.2-beta1 187 9/17/2022
1.0.2-beta.4.0.0.17 135 2/6/2023
1.0.1 1,369 4/2/2023
1.0.1-godot4.0.2-rc.1 97 4/2/2023
1.0.1-beta1 188 9/17/2022
1.0.0 247 4/2/2023
1.0.0-beta1 221 9/17/2022
0.0.5 1,582 6/20/2022
0.0.4 1,448 6/18/2022
0.0.3 473 6/18/2022
0.0.2 465 6/18/2022
0.0.1 467 6/18/2022

Initial release.