MetalamaAPI documentationFlashtrace APIFlashtraceIFlashtrace­Role­Logger­Factory
Open sandboxFocus

IFlashtraceRoleLoggerFactory Interface

Creates instances of the IFlashtraceLogger interface. An instance of this interface must be registered into the System.IServiceProvider or, if you are using the legacy mechanism, to FlashtraceSourceFactory.

Namespace: Flashtrace
Assembly: Flashtrace.dll
Syntax
public interface IFlashtraceRoleLoggerFactory

Methods

Name Description
GetLogger(String)

Gets an instance of the IFlashtraceLogger interface for a specific sourceName. The name will usually, but not always, be a type name.

GetLogger(Type)

Gets an instance of the IFlashtraceLogger for a specific System.Type.

Extension Methods

FlashtraceExtensions.GetFlashtraceSource(IFlashtraceRoleLoggerFactory, Type)
FlashtraceExtensions.GetFlashtraceSource(IFlashtraceRoleLoggerFactory, String)
FlashtraceExtensions.GetFlashtraceSource(IFlashtraceRoleLoggerFactory)
FlashtraceExtensions.GetFlashtraceSource(IFlashtraceRoleLoggerFactory, in CallerInfo)