Table of Contents

Class BpNexTLogging

Namespace
BpNexT.NET
Assembly
BpNexT.NET.Core.dll

SDK-wide logging configuration for code paths that are not owned by a specific application instance.

public static class BpNexTLogging
Inheritance
object
BpNexTLogging

Properties

LoggerFactory

Gets the logger factory used by static SDK helpers. Defaults to Instance.

public static ILoggerFactory LoggerFactory { get; }

Property Value

ILoggerFactory

Methods

CreateLogger(string)

Creates a logger for the specified category.

public static ILogger CreateLogger(string categoryName)

Parameters

categoryName string

Returns

ILogger

CreateLogger<T>()

Creates a logger for the specified type.

public static ILogger<T> CreateLogger<T>()

Returns

ILogger<T>

Type Parameters

T

UseLoggerFactory(ILoggerFactory?)

Sets the logger factory used by static SDK helpers. Passing null disables SDK logging.

public static void UseLoggerFactory(ILoggerFactory? loggerFactory)

Parameters

loggerFactory ILoggerFactory