JvmBridge.Logging 26.11.2.8588

There is a newer version of this package available.
See the version list below for details.
dotnet add package JvmBridge.Logging --version 26.11.2.8588
                    
NuGet\Install-Package JvmBridge.Logging -Version 26.11.2.8588
                    
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.2.8588" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JvmBridge.Logging" Version="26.11.2.8588" />
                    
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.2.8588
                    
#r "nuget: JvmBridge.Logging, 26.11.2.8588"
                    
#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.2.8588
                    
#: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.2.8588
                    
Install as a Cake Addin
#tool nuget:?package=JvmBridge.Logging&version=26.11.2.8588
                    
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.12.3660 0 11/12/2026
26.11.12.3002 0 11/12/2026
26.11.11.5979 36 11/11/2026
26.11.10.9660 45 11/11/2026
26.11.10.9155 46 11/10/2026
26.11.10.8181 50 11/10/2026
26.11.10.7408 44 11/10/2026
26.11.10.7204 52 11/10/2026
26.11.10.6716 46 11/10/2026
26.11.9.2167 56 11/9/2026
26.11.7.4779 63 11/7/2026
26.11.6.1035 86 11/6/2026
26.11.5.9127 80 11/5/2026
26.11.5.8973 75 11/5/2026
26.11.5.8626 73 11/5/2026
26.11.4.7033 93 11/4/2026
26.11.3.3660 97 11/3/2026
26.11.3.3299 91 11/3/2026
26.11.3.1474 91 11/3/2026
26.11.2.8588 96 11/2/2026
Loading failed

- feat(classfiles): ✨ added lambdas to CodeBuilder and a public method body replacement (9f5bf47)
- ci(renovate): 🐛 replaced the lookahead that RE2 rejected in the SDK list manager (85eb734)