DPB2Class · 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 CustomLoggerView DPB1 version →

Members and overloads

15 results

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.

pathstring
Specifies path.
prefixstring
Specifies prefix.
minLevelLevel
Specifies min level.
maxLevelLevel
Specifies max level.
getDropRepeatMessageDelayMsFunc<int>
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.

scrollViewerScrollViewer
Specifies scroll viewer.
rtbLogRichTextBox
Specifies rtb log.
getDropRepeatMessageDelayMsFunc<int>
Specifies get drop repeat message delay ms.

ChangeFileLogFilterLevel

MethodLink ↗
public void CustomLogger.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 void CustomLogger.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 void CustomLogger.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 void CustomLogger.Clear()

Executes the clear operation.

GetLoggerInstanceForName

MethodLink ↗
public ILog CustomLogger.GetLoggerInstanceForName(string name)

Returns logger instance for name using the supplied arguments.

namestring
Specifies name.

Returns: The ILog result.

GetLoggerInstanceForType

MethodLink ↗
public ILog CustomLogger.GetLoggerInstanceForType()

Returns logger instance for type.

Returns: The ILog result.

FileLogAppender

PropertyLink ↗
public FileAppender CustomLogger.FileLogAppender { get; }

Gets file log appender for CustomLogger.

FileMaxLevel

PropertyLink ↗
public Level CustomLogger.FileMaxLevel { get; }

Gets file max level for CustomLogger.

FileMinLevel

PropertyLink ↗
public Level CustomLogger.FileMinLevel { get; }

Gets file min level for CustomLogger.

FileName

PropertyLink ↗
public string CustomLogger.FileName { get; }

Gets file name for CustomLogger.

WindowLogAppender

PropertyLink ↗
public WpfRtfAppender CustomLogger.WindowLogAppender { get; }

Gets window log appender for CustomLogger.

WindowMaxLevel

PropertyLink ↗
public Level CustomLogger.WindowMaxLevel { get; }

Gets window max level for CustomLogger.

WindowMinLevel

PropertyLink ↗
public Level CustomLogger.WindowMinLevel { get; }

Gets window min level for CustomLogger.

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.