Releases: DiscordBM/DiscordLogger
Releases · DiscordBM/DiscordLogger
v1.0.0-rc.3 - Use `HTTPClient.shared` as default
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
What's Changed
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
Full Changelog: v1.0.0-beta.2...v1.0.0-rc.1
v1.0.0-beta.2
- 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`
This is the first release after moving the implementation from DiscordBM to this repository.