JvmBridge.Logging 26.11.17.5183

There is a newer version of this package available.
See the version list below for details.
dotnet add package JvmBridge.Logging --version 26.11.17.5183
                    
NuGet\Install-Package JvmBridge.Logging -Version 26.11.17.5183
                    
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.17.5183" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JvmBridge.Logging" Version="26.11.17.5183" />
                    
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.17.5183
                    
#r "nuget: JvmBridge.Logging, 26.11.17.5183"
                    
#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.17.5183
                    
#: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.17.5183
                    
Install as a Cake Addin
#tool nuget:?package=JvmBridge.Logging&version=26.11.17.5183
                    
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.24.4445 103 11/24/2026
26.11.21.7545 106 11/21/2026
26.11.21.6398 96 11/21/2026
26.11.21.6388 108 11/21/2026
26.11.21.6314 96 11/21/2026
26.11.21.6218 94 11/21/2026
26.11.21.4434 94 11/21/2026
26.11.21.3958 101 11/21/2026
26.11.20.3910 91 11/20/2026
26.11.20.3606 95 11/20/2026
26.11.20.3517 104 11/20/2026
26.11.19.7823 96 11/19/2026
26.11.18.9307 91 11/18/2026
26.11.18.2199 108 11/18/2026
26.11.18.1773 100 11/18/2026
26.11.17.5183 94 11/17/2026
26.11.16.9471 105 11/16/2026
26.11.16.2576 97 11/16/2026
26.11.15.9621 96 11/15/2026
26.11.12.3660 102 11/12/2026
Loading failed

- chore(deps): ⬆️ update void-community/actions digest to 6f577d1 (2fa04ea)