Class ModuleLog
Class offering various methods to allow for logging in Dalamud modules.
Assembly: Dalamud.dll
View Source
Declaration
public class ModuleLog
Methods
Verbose(string, params object?[])
Log a templated verbose message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Verbose(string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Verbose(Exception?, string, params object?[])
Log a templated verbose message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Verbose(Exception? exception, string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | The exception that caused the error. |
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Debug(string, params object?[])
Log a templated debug message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Debug(string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Debug(Exception?, string, params object?[])
Log a templated debug message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Debug(Exception? exception, string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | The exception that caused the error. |
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Information(string, params object?[])
Log a templated information message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Information(string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Information(Exception?, string, params object?[])
Log a templated information message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Information(Exception? exception, string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | The exception that caused the error. |
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Warning(string, params object?[])
Log a templated warning message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Warning(string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Warning(Exception?, string, params object?[])
Log a templated warning message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Warning(Exception? exception, string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | The exception that caused the error. |
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Error(string, params object?[])
Log a templated error message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Error(string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |
Error(Exception?, string, params object?[])
Log a templated error message to the in-game debug log.
View Source
Declaration
[MessageTemplateFormatMethod("messageTemplate")]
public void Error(Exception? exception, string messageTemplate, params object?[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | The exception that caused the error. |
System.String | messageTemplate | The message template. |
System.Object[] | values | Values to log. |