Interface IExtensionLogger
Logging extension work in SprutCAM Open API
Namespace: SprutCAMTech.CAMAPI.Extensions
Assembly: SprutCAMTech.CAMAPI.Extensions.dll
Syntax
[Guid("094AC550-76C9-43B7-97A9-717EF8747A44")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IExtensionLogger
Methods
debug(string)
Save message in log with LogEventType = debug
Declaration
void debug(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
error(string)
Save message in log with LogEventType = error
Declaration
void error(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
head(string)
Save message in log with LogEventType = head
Declaration
void head(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
Info(string)
Save message in log with LogEventType = info
Declaration
void Info(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
IsEventTypeActive(TLogEventType)
Check if event type should be processed
Declaration
bool IsEventTypeActive(TLogEventType EventType)
Parameters
Type | Name | Description |
---|---|---|
TLogEventType | EventType |
Returns
Type | Description |
---|---|
bool |
log(LogItem)
Add new event in log events
Declaration
void log(LogItem Event)
Parameters
Type | Name | Description |
---|---|---|
LogItem | Event |
verbose(string)
Save message in log with LogEventType = verbose
Declaration
void verbose(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
warning(string)
Save message in log with LogEventType = warning
Declaration
void warning(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |