Skip to content

SettingsManager Class

Definition

namespace Sharplog

public static class SettingsManager
Object
SettingsManager

Class responsible for managing the settings.

Properties

Name Type GET SET
Settings BaseSettings

Methods

Name Modifiers Returns
ReloadSettings(bool) public static

Properties

Settings

public static BaseSettings Settings { get; set; }
Type: BaseSettings

Gets or sets the settings.

Methods

ReloadSettings(bool)

public static void ReloadSettings(bool fromFile = true)

Reloads the settings.

Parameter

fromFile bool ยท true
The message of the log. Gets converted to a string using .toString().