JvmBridge.Logging 26.11.21.7545

dotnet add package JvmBridge.Logging --version 26.11.21.7545
                    
NuGet\Install-Package JvmBridge.Logging -Version 26.11.21.7545
                    
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="JvmBridge.Logging" Version="26.11.21.7545" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JvmBridge.Logging" Version="26.11.21.7545" />
                    
Directory.Packages.props
<PackageReference Include="JvmBridge.Logging" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JvmBridge.Logging --version 26.11.21.7545
                    
#r "nuget: JvmBridge.Logging, 26.11.21.7545"
                    
#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.
#:package JvmBridge.Logging@26.11.21.7545
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JvmBridge.Logging&version=26.11.21.7545
                    
Install as a Cake Addin
#tool nuget:?package=JvmBridge.Logging&version=26.11.21.7545
                    
Install as a Cake Tool

JvmBridge.Logging

Microsoft.Extensions.Logging adapters for JvmBridge agents.

  • new AgentLoggerProvider(context) is an ILoggerProvider. Its loggers write to the agent's log, so code that takes an ILogger can run inside an agent. A line is dropped when it is below context.LogLevel (-agentpath:...=log=debug), and the default sink writes it to standard error prefixed with the agent's name.
  • AgentLogging.Redirect(logger) sends everything JvmBridge logs, including failures that the runtime contained, to an ILogger instead of standard error. It replaces AgentLog.Sink; pass null to restore the default.
public sealed class MyAgent : JavaAgent
{
    public override void Configure(AgentContext context)
    {
        using AgentLoggerProvider provider = new(context);
        ILogger logger = provider.CreateLogger("MyAgent");
        logger.LogInformation("configured with {Options}", context.Options);
    }
}

Agent log levels map to LogLevel as Trace, Debug, Information, Warning, Error (Critical logs as Error), and None drops everything.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows 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
26.11.21.7545 54 11/21/2026
26.11.21.6398 48 11/21/2026
26.11.21.6388 59 11/21/2026
26.11.21.6314 45 11/21/2026
26.11.21.6218 45 11/21/2026
26.11.21.4434 49 11/21/2026
26.11.21.3958 53 11/21/2026
26.11.20.3910 46 11/20/2026
26.11.20.3606 50 11/20/2026
26.11.20.3517 55 11/20/2026
26.11.19.7823 73 11/19/2026
26.11.18.9307 77 11/18/2026
26.11.18.2199 90 11/18/2026
26.11.18.1773 85 11/18/2026
26.11.17.5183 79 11/17/2026
26.11.16.9471 93 11/16/2026
26.11.16.2576 92 11/16/2026
26.11.15.9621 90 11/15/2026
26.11.12.3660 95 11/12/2026
26.11.12.3002 89 11/12/2026
Loading failed

- chore(deps): ⬆️ update void-community/actions digest to dcd2afb (94927a5)