Show / Hide Table of Contents

Class PluginLog

Class offering various static methods to allow for logging in plugins.

Inheritance
System.Object
PluginLog
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dalamud.Plugin
Assembly: Dalamud.dll
Syntax
public static class PluginLog

Methods

| Improve this Doc View Source

Debug(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX