Interface ILogger
Namespace: FellowOakDicom.Log
Assembly: fo-dicom.core.dll
Syntax
[Obsolete("Fellow Oak DICOM now supports Microsoft.Extensions.Logging")]
public interface ILogger
Methods
Debug(String, Object[])
Log a debug message to the logger.
Declaration
void Debug(string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | Log message (format string). |
System.Object[] | args | Log message arguments. |
Error(String, Object[])
Log an error message to the logger.
Declaration
void Error(string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | Log message (format string). |
System.Object[] | args | Log message arguments. |
Fatal(String, Object[])
Log a fatal error message to the logger.
Declaration
void Fatal(string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | Log message (format string). |
System.Object[] | args | Log message arguments. |
Info(String, Object[])
Log an informational message to the logger.
Declaration
void Info(string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | Log message (format string). |
System.Object[] | args | Log message arguments. |
Log(LogLevel, String, Object[])
Log a message to the logger.
Declaration
void Log(LogLevel level, string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | Log level. |
System.String | msg | Log message (format string). |
System.Object[] | args | Log message arguments. |
Warn(String, Object[])
Log a warning message to the logger.
Declaration
void Warn(string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | Log message (format string). |
System.Object[] | args | Log message arguments. |