Skip to main content
View as Markdown

ILogManager interface

No description yet.

public interface ILogManager

Namespace: DXP · Assembly: Altium.SDK.Interfaces

Methods​

MethodReturnsDescription
CreateLoggerILogger
GetDefaultLoggerILogger
GetLoggingEnabledbool
GetLogLevelTLogLevel
SetLogCallbackvoid

CreateLogger​

No description yet.

ILogger CreateLogger(string argSource);
ParameterTypePassing
argSourcestringvalue

Returns: ILogger

Extension method of ILogManagerHelper (using DXP;).

GetDefaultLogger​

No description yet.

ILogger GetDefaultLogger();

Returns: ILogger

Extension method of ILogManagerHelper (using DXP;).

GetLoggingEnabled​

No description yet.

bool GetLoggingEnabled();

Returns: bool

GetLogLevel​

No description yet.

TLogLevel GetLogLevel();

Returns: TLogLevel

Extension method of ILogManagerHelper (using DXP;).

SetLogCallback​

No description yet.

void SetLogCallback(int argCallbackId, ILogCallback argCallback, string argSource);
void SetLogCallback(int argCallbackId, object argCallback, string argSource);
ParameterTypePassing
argCallbackIdintvalue
argCallbackILogCallbackvalue
argSourcestringvalue

Returns: nothing (void)

The first overload is an extension method of ILogManagerHelper (using DXP;) with typed parameters; the second is declared by the interface.

Returned by​

IClientAPI_Interface.GetLogManager, Utils.GetLogManager