DPB1Class · Utilities and settings

CustomLogger

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

Namespace: DreamPoeBot.Loki.Common

public class CustomLogger
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

15 declared here

CustomLogger

MethodLink ↗
public CustomLogger.CustomLogger(string path, string prefix, Level minLevel, Level maxLevel, Func<int> getDropRepeatMessageDelayMs)

Creates a new CustomLogger instance using the supplied arguments.

Parameters

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

Specifies path.

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

Specifies prefix.

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

Specifies min level.

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

Specifies max level.

getDropRepeatMessageDelayMs
Parameter type: Func<int>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies get drop repeat message delay ms.

AddWpfListener

MethodLink ↗
public void CustomLogger.AddWpfListener(ScrollViewer scrollViewer, RichTextBox rtbLog, Func<int> getDropRepeatMessageDelayMs)

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.

getDropRepeatMessageDelayMs
Parameter type: Func<int>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies get drop repeat message delay ms.

ChangeFileLogFilterLevel

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

Calls ChangeFileLogFilterLevel on CustomLogger 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 void CustomLogger.ChangeLogFilterLevel(Level minLevel = null, Level maxLevel = null)

Calls ChangeLogFilterLevel on CustomLogger 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 void CustomLogger.ChangeWindowLogFilterLevel(Level minLevel = null, Level maxLevel = null)

Calls ChangeWindowLogFilterLevel on CustomLogger 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 void CustomLogger.Clear()

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

Return type: voidNo return value.

GetLoggerInstanceForName

MethodLink ↗
public ILog CustomLogger.GetLoggerInstanceForName(string name)

Calls GetLoggerInstanceForName on CustomLogger 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 ILog CustomLogger.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.

FileLogAppender

PropertyLink ↗
public FileAppender CustomLogger.FileLogAppender { get; }

Reads file log appender on CustomLogger as FileAppender. The exact type and accessors are shown below.

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

FileMaxLevel

PropertyLink ↗
public Level CustomLogger.FileMaxLevel { get; }

Reads file max level on CustomLogger as Level. The exact type and accessors are shown below.

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

FileMinLevel

PropertyLink ↗
public Level CustomLogger.FileMinLevel { get; }

Reads file min level on CustomLogger as Level. The exact type and accessors are shown below.

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

FileName

PropertyLink ↗
public string CustomLogger.FileName { get; }

Reads file name on CustomLogger 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.

WindowMaxLevel

PropertyLink ↗
public Level CustomLogger.WindowMaxLevel { get; }

Reads window max level on CustomLogger as Level. The exact type and accessors are shown below.

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

WindowMinLevel

PropertyLink ↗
public Level CustomLogger.WindowMinLevel { get; }

Reads window min level on CustomLogger as Level. The exact type and accessors are shown below.

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

DPB1 0.3.29.56 · 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.