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 Logger
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

12 declared here

AddWpfListener

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

Adds wpf listener using the supplied arguments.

Return type: voidNo return value.

Parameters

scrollViewer
Parameter type: ScrollViewerNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies scroll viewer.

rtbLog
Parameter type: RichTextBoxNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies rtb log.

ChangeFileLogFilterLevel

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

Calls ChangeFileLogFilterLevel on Logger with minLevel, maxLevel. This overload has no return value.

Return type: voidNo return value.

Parameters

minLevel
Parameter type: LevelNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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

maxLevel
Parameter type: LevelNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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

ChangeLogFilterLevel

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

Calls ChangeLogFilterLevel on Logger with minLevel, maxLevel. This overload has no return value.

Return type: voidNo return value.

Parameters

minLevel
Parameter type: LevelNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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

maxLevel
Parameter type: LevelNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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

ChangeWindowLogFilterLevel

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

Calls ChangeWindowLogFilterLevel on Logger with minLevel, maxLevel. This overload has no return value.

Return type: voidNo return value.

Parameters

minLevel
Parameter type: LevelNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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

maxLevel
Parameter type: LevelNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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

Clear

MethodLink ↗
public static void Logger.Clear()

Calls Clear on Logger without arguments. This overload has no return value.

Return type: voidNo return value.

DebugWriteLine

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

Calls DebugWriteLine on Logger with message. This overload has no return value.

Return type: voidNo return value.

Parameters

message
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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)

Calls GetLoggerInstanceForName on Logger with name and returns ILog. Open the return contract below before using the result.

Return type: ILogNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

name
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies name.

Returns: The ILog result.

GetLoggerInstanceForType

MethodLink ↗
public static ILog Logger.GetLoggerInstanceForType()

Returns logger instance for type.

Return type: ILogNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: The ILog result.

OpenLogFile

MethodLink ↗
public static void Logger.OpenLogFile()

Opens log file.

Return type: voidNo return value.

DropRepeatMessageDelayMs

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

Reads or assigns drop repeat message delay ms on Logger as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

FileName

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

Reads file name on Logger as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Instance

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

Reads instance on Logger as CustomLogger. Open the value type below for its members and accepted values.

Value type: CustomLogger
Explore CustomLogger → members & methods

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

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