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
-
objectBpNexTLogging
Properties
LoggerFactory
Gets the logger factory used by static SDK helpers. Defaults to Instance.
public static ILoggerFactory LoggerFactory { get; }
Property Value
Methods
CreateLogger(string)
Creates a logger for the specified category.
public static ILogger CreateLogger(string categoryName)
Parameters
categoryNamestring
Returns
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
loggerFactoryILoggerFactory