Skip to content

Releases: DiscordBM/DiscordLogger

v1.0.0-rc.3 - Use `HTTPClient.shared` as default

12 Apr 06:00
e78a8de
Compare
Choose a tag to compare

Simplify installation by using HTTPClient.shared as default.

What's Changed

Full Changelog: v1.0.0-rc.2...v1.0.0-rc.3

v1.0.0-rc.2 - Option to Attach full logs to messages

02 Sep 10:59
e097e72
Compare
Choose a tag to compare

What's Changed

  • Option to Attach full logs to messages by @MahdiBM in #1

Enable using sendFullLogAsAttachment: .enabled:

DiscordGlobalConfiguration.logManager = await DiscordLogManager(
    httpClient: httpClient,
    configuration: .init(
        aliveNotice: .init(
            address: try .url(<#Your Webhook URL#>),
            /// If nil, `DiscordLogManager` will only send 1 "I'm alive" notice, on boot.
            /// If not nil, it will send a "I'm alive" notice every this-amount too, if there is no logging activity. 
            interval: nil,
            message: "I'm Alive! :)",
            color: .blue,
            initialNoticeMention: .user("970723029262942248")
        ),
        sendFullLogAsAttachment: .enabled,
        mentions: [
            .warning: .role("970723134149918800"),
            .error: .role("970723101044244510"),
            .critical: .role("970723029262942248"),
        ],
        extraMetadata: [.warning, .error, .critical],
        disabledLogLevels: [.debug, .trace], 
        disabledInDebug: false
    )
)

Full Changelog: v1.0.0-rc.1...v1.0.0-rc.2

v1.0.0-rc.1 - Release Candidate

01 Jun 16:11
Compare
Choose a tag to compare
Pre-release

v1.0.0-beta.2

28 May 15:35
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release
  • Don't pin DiscordBM.
  • Don't enable compiler flags in versioned releases.

Full Changelog: v1.0.0-beta.1...v1.0.0-beta.2

First Release. Move the implementation from `DiscordBM` to `DiscordLogger`

28 May 12:48
539f7f1
Compare
Choose a tag to compare

This is the first release after moving the implementation from DiscordBM to this repository.