DPB2Class · Utilities and settings

Logger

Provides logger data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public static class LoggerView DPB1 version →

Members and overloads

12 results

AddWpfListener

MethodLink ↗
public static void Logger.AddWpfListener(ScrollViewer scrollViewer, RichTextBox rtbLog)

Adds wpf listener using the supplied arguments.

scrollViewerScrollViewer
Specifies scroll viewer.
rtbLogRichTextBox
Specifies rtb log.

ChangeFileLogFilterLevel

MethodLink ↗
public static void Logger.ChangeFileLogFilterLevel(Level minLevel = null, Level maxLevel = null)

Executes the change file log filter level operation with the supplied arguments.

minLevelLevel
Specifies min level. Optional; the default is shown in the signature.
maxLevelLevel
Specifies max level. Optional; the default is shown in the signature.

ChangeLogFilterLevel

MethodLink ↗
public static void Logger.ChangeLogFilterLevel(Level minLevel = null, Level maxLevel = null)

Executes the change log filter level operation with the supplied arguments.

minLevelLevel
Specifies min level. Optional; the default is shown in the signature.
maxLevelLevel
Specifies max level. Optional; the default is shown in the signature.

ChangeWindowLogFilterLevel

MethodLink ↗
public static void Logger.ChangeWindowLogFilterLevel(Level minLevel = null, Level maxLevel = null)

Executes the change window log filter level operation with the supplied arguments.

minLevelLevel
Specifies min level. Optional; the default is shown in the signature.
maxLevelLevel
Specifies max level. Optional; the default is shown in the signature.

Clear

MethodLink ↗
public static void Logger.Clear()

Executes the clear operation.

DebugWriteLine

MethodLink ↗
public static void Logger.DebugWriteLine(string message)

Executes the debug write line operation with the supplied arguments.

messagestring
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

GetLoggerInstanceForName

MethodLink ↗
public static ILog Logger.GetLoggerInstanceForName(string name)

Returns logger instance for name using the supplied arguments.

namestring
Specifies name.

Returns: The ILog result.

GetLoggerInstanceForType

MethodLink ↗
public static ILog Logger.GetLoggerInstanceForType()

Returns logger instance for type.

Returns: The ILog result.

OpenLogFile

MethodLink ↗
public static void Logger.OpenLogFile()

Opens log file.

DropRepeatMessageDelayMs

PropertyLink ↗
public static int Logger.DropRepeatMessageDelayMs { get; set; }

Gets or sets drop repeat message delay ms for Logger.

FileName

PropertyLink ↗
public static string Logger.FileName { get; }

Gets file name for Logger.

Instance

PropertyLink ↗
public static CustomLogger Logger.Instance { get; }

Gets instance for Logger.

DPB2 0.4.5.88 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.