Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
Gondwana.Blazor.Logging.BrowserConsoleLoggerProvider Class Referencesealed

Writes Microsoft.Extensions.Logging records to the browser developer console without using the desktop-oriented Microsoft console logging provider. More...

Inheritance diagram for Gondwana.Blazor.Logging.BrowserConsoleLoggerProvider:

Public Member Functions

ILogger CreateLogger (string categoryName)
void Dispose ()

Detailed Description

Writes Microsoft.Extensions.Logging records to the browser developer console without using the desktop-oriented Microsoft console logging provider.

Browser-hosted Gondwana games normally route records through EngineLogger, so asynchronous engine logging still performs queueing before this provider is invoked.

The implementation uses Console.Out and Console.Error. In WebAssembly these streams are bridged by the .NET browser runtime to the browser developer console without requiring explicit JavaScript interop.

Definition at line 21 of file BrowserConsoleLoggerProvider.cs.

Member Function Documentation

◆ CreateLogger()

ILogger Gondwana.Blazor.Logging.BrowserConsoleLoggerProvider.CreateLogger ( string categoryName)

Definition at line 24 of file BrowserConsoleLoggerProvider.cs.

◆ Dispose()

void Gondwana.Blazor.Logging.BrowserConsoleLoggerProvider.Dispose ( )

Definition at line 31 of file BrowserConsoleLoggerProvider.cs.