MetalamaAPI documentationFlashtrace APIFlashtrace.​LoggersNull­Flashtrace­LoggerGet­Logger
Open sandboxFocus

NullFlashtraceLogger.GetLogger Method

GetLogger(string)

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

Declaration
public IFlashtraceLogger GetLogger(string sourceName)
Parameters
Type Name Description
string sourceName

Name identifying the returned logger. The backend creates a logger based on this name.

Returns
Type Description
IFlashtraceLogger
Implements
IFlashtraceRoleLoggerFactory.GetLogger(string)