Skip to main content
View as Markdown

ILogger interface

No description yet.

public interface ILogger

Namespace: DXP · Assembly: Altium.SDK.Interfaces

Methods​

MethodReturnsDescription
Debugvoid
Errorvoid
Fatalvoid
Infovoid
Logvoid
LogStartProcessvoid
LogStopProcesslong
Tracevoid
Warnvoid

Debug​

No description yet.

void Debug(string argMessage);
ParameterTypePassing
argMessagestringvalue

Returns: nothing (void)

Error​

No description yet.

void Error(string argMessage);
ParameterTypePassing
argMessagestringvalue

Returns: nothing (void)

Fatal​

No description yet.

void Fatal(string argMessage);
ParameterTypePassing
argMessagestringvalue

Returns: nothing (void)

Info​

No description yet.

void Info(string argMessage);
ParameterTypePassing
argMessagestringvalue

Returns: nothing (void)

Log​

No description yet.

void Log(TLogLevel argLogLevel, string argMessage);
void Log(int argLogLevel, string argMessage);
ParameterTypePassing
argLogLevelTLogLevelvalue
argMessagestringvalue

Returns: nothing (void)

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

LogStartProcess​

No description yet.

void LogStartProcess(string argProcessName, string argDescription, TLogLevel argLogLevel);
void LogStartProcess(string argProcessName, string argDescription, int argLogLevel);
ParameterTypePassing
argProcessNamestringvalue
argDescriptionstringvalue
argLogLevelTLogLevelvalue

Returns: nothing (void)

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

LogStopProcess​

No description yet.

long LogStopProcess(string argProcessName, string argDescription, TLogLevel argLogLevel);
long LogStopProcess(string argProcessName, string argDescription, int argLogLevel);
ParameterTypePassing
argProcessNamestringvalue
argDescriptionstringvalue
argLogLevelTLogLevelvalue

Returns: long

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

Trace​

No description yet.

void Trace(string argMessage);
ParameterTypePassing
argMessagestringvalue

Returns: nothing (void)

Warn​

No description yet.

void Warn(string argMessage);
ParameterTypePassing
argMessagestringvalue

Returns: nothing (void)

Returned by​

ILogManager.CreateLogger, ILogManager.GetDefaultLogger