![]() |
VOOZH | about |
dotnet add package Meatcorps.Engine.Logging --version 0.1.17-preview.32
NuGet\Install-Package Meatcorps.Engine.Logging -Version 0.1.17-preview.32
<PackageReference Include="Meatcorps.Engine.Logging" Version="0.1.17-preview.32" />
<PackageVersion Include="Meatcorps.Engine.Logging" Version="0.1.17-preview.32" />Directory.Packages.props
<PackageReference Include="Meatcorps.Engine.Logging" />Project file
paket add Meatcorps.Engine.Logging --version 0.1.17-preview.32
#r "nuget: Meatcorps.Engine.Logging, 0.1.17-preview.32"
#:package Meatcorps.Engine.Logging@0.1.17-preview.32
#addin nuget:?package=Meatcorps.Engine.Logging&version=0.1.17-preview.32&prereleaseInstall as a Cake Addin
#tool nuget:?package=Meatcorps.Engine.Logging&version=0.1.17-preview.32&prereleaseInstall as a Cake Tool
Configures Serilog for the Meatcorps engine and registers an
ILoggerFactory in the global ObjectManager so any engine module can resolve a logger.
Outputs to both the console and a daily rolling log file.
Call LoggingModule.Load() always as first, before loading other modules:
LoggingModule.Load();
var host = new GameHostBuilder() // Just an example
// ...
.Build();
That's it. The module configures Serilog internally and registers an ILoggerFactory in
GlobalObjectManager.
Console format:
12:34:56.789 [Debug] (MyNamespace.MyClass): Message
File — written to logs/<AssemblyName>-<date>.log next to the executable:
Any class that has access to GlobalObjectManager can resolve a typed logger:
var loggerFactory = GlobalObjectManager.ObjectManager.Get<ILoggerFactory>();
var logger = loggerFactory!.CreateLogger<MyClass>();
logger.LogInformation("Game started");
logger.LogWarning("Low memory");
logger.LogError(ex, "Unhandled exception");
Debug.LoggingModule.Load() should only be called once. Calling it multiple times will overwrite
the previous Serilog configuration.FileUtilities.GetFullPath.MIT License
See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Meatcorps.Engine.Logging:
| Package | Downloads |
|---|---|
|
Meatcorps.Engine.RayLib
Meatcorps.Engine is a lightweight, code-first game framework built on top of Raylib. This is the primary Meatcorps Engine RayLib package |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.17-preview.38 | 40 | 6/24/2026 |
| 0.1.17-preview.37 | 50 | 5/31/2026 |
| 0.1.17-preview.32 | 60 | 5/2/2026 |
| 0.1.17-preview.31 | 62 | 4/27/2026 |
| 0.1.17-preview.30 | 67 | 3/21/2026 |
| 0.1.17-preview.29 | 64 | 3/20/2026 |
| 0.1.17-preview.28 | 61 | 3/20/2026 |
| 0.1.17-preview.27 | 63 | 3/19/2026 |
| 0.1.17-preview.26 | 66 | 3/18/2026 |
| 0.1.17-preview.25 | 71 | 3/18/2026 |
| 0.1.17-preview.24 | 69 | 3/11/2026 |
| 0.1.17-preview.23 | 74 | 3/11/2026 |
| 0.1.17-preview.22 | 65 | 3/9/2026 |
| 0.1.17-preview.21 | 79 | 3/9/2026 |
| 0.1.17-preview.20 | 74 | 3/5/2026 |
| 0.1.17-preview.19 | 69 | 2/25/2026 |
| 0.1.17-preview.18 | 77 | 2/25/2026 |
| 0.1.17-preview.17 | 72 | 2/24/2026 |
| 0.1.16 | 144 | 2/20/2026 |
| 0.1.15 | 236 | 2/14/2026 |