Class PluginLog
Class offering various static methods to allow for logging in plugins.
Inheritance
Inherited Members
Namespace: Dalamud.Logging
Assembly: Dalamud.dll
Syntax
public static class PluginLog
Methods
| Improve this Doc View SourceDebug(Exception, String, Object[])
Log a templated debug message to the in-game debug log.
Declaration
public static 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. |
Debug(String, Object[])
Log a templated debug message to the in-game debug log.
Declaration
public static void Debug(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
Error(Exception, String, Object[])
Log a templated error message to the in-game debug log.
Declaration
public static 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. |
Error(String, Object[])
Log a templated error message to the in-game debug log.
Declaration
public static void Error(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
Fatal(Exception, String, Object[])
Log a templated fatal message to the in-game debug log.
Declaration
public static void Fatal(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. |
Fatal(String, Object[])
Log a templated fatal message to the in-game debug log.
Declaration
public static void Fatal(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
Information(Exception, String, Object[])
Log a templated information message to the in-game debug log.
Declaration
public static 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. |
Information(String, Object[])
Log a templated information message to the in-game debug log.
Declaration
public static void Information(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
Log(Exception, String, Object[])
Log a templated message to the in-game debug log.
Declaration
public static void Log(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. |
Log(String, Object[])
Log a templated message to the in-game debug log.
Declaration
public static void Log(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
LogDebug(Exception, String, Object[])
Log a templated debug message to the in-game debug log.
Declaration
public static void LogDebug(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. |
LogDebug(String, Object[])
Log a templated debug message to the in-game debug log.
Declaration
public static void LogDebug(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
LogError(Exception, String, Object[])
Log a templated error message to the in-game debug log.
Declaration
public static void LogError(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. |
LogError(String, Object[])
Log a templated error message to the in-game debug log.
Declaration
public static void LogError(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
LogFatal(Exception, String, Object[])
Log a templated fatal message to the in-game debug log.
Declaration
public static void LogFatal(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. |
LogFatal(String, Object[])
Log a templated fatal message to the in-game debug log.
Declaration
public static void LogFatal(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
LogInformation(Exception, String, Object[])
Log a templated information message to the in-game debug log.
Declaration
public static void LogInformation(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. |
LogInformation(String, Object[])
Log a templated information message to the in-game debug log.
Declaration
public static void LogInformation(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
LogVerbose(Exception, String, Object[])
Log a templated verbose message to the in-game debug log.
Declaration
public static void LogVerbose(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. |
LogVerbose(String, Object[])
Log a templated verbose message to the in-game debug log.
Declaration
public static void LogVerbose(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
LogWarning(Exception, String, Object[])
Log a templated warning message to the in-game debug log.
Declaration
public static void LogWarning(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. |
LogWarning(String, Object[])
Log a templated warning message to the in-game debug log.
Declaration
public static void LogWarning(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
Verbose(Exception, String, Object[])
Log a templated verbose message to the in-game debug log.
Declaration
public static 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. |
Verbose(String, Object[])
Log a templated verbose message to the in-game debug log.
Declaration
public static void Verbose(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |
Warning(Exception, String, Object[])
Log a templated warning message to the in-game debug log.
Declaration
public static 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. |
Warning(String, Object[])
Log a templated warning message to the in-game debug log.
Declaration
public static void Warning(string messageTemplate, params object[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | messageTemplate | The message template. |
| System.Object[] | values | Values to log. |