Burnside.Serilog.Sink.Discord
1.0.0
See the version list below for details.
dotnet add package Burnside.Serilog.Sink.Discord --version 1.0.0
NuGet\Install-Package Burnside.Serilog.Sink.Discord -Version 1.0.0
<PackageReference Include="Burnside.Serilog.Sink.Discord" Version="1.0.0" />
paket add Burnside.Serilog.Sink.Discord --version 1.0.0
#r "nuget: Burnside.Serilog.Sink.Discord, 1.0.0"
// Install Burnside.Serilog.Sink.Discord as a Cake Addin
#addin nuget:?package=Burnside.Serilog.Sink.Discord&version=1.0.0
// Install Burnside.Serilog.Sink.Discord as a Cake Tool
#tool nuget:?package=Burnside.Serilog.Sink.Discord&version=1.0.0
YOU WILL NEED TO REGISTER YOUR APP WITH DISCORD TO GET A BOT TOKEN
You can do that here
Once you have your token you can proceed with either getting your server and channel ids (you will have to enable developer mode first) or just use the server and channel names (NOT RECOMMENDED, NAMES CAN BE DUPLICATE AND LEAD TO IT LOGGING TO THE WRONG SPOT).
can either create a list of server objects to pass into the sink or (if you are only using one server) you can create a dictionary logging levels (listed bellow as strings [SUBJECT TO CHANGE]) and either ulongs (ids) or strings (names). By default you only need a server name/id. This will assume you will have have different channels for each level and they are named as noted by the default. If you provide any channels at all it will only use them.
Logging levels
All of the default serilog logging levels are supported with an additional all. FORMAT:"STRING" (level) default channel
"verbose" (verbose) verbose "info" (information) info "debug" (debug) debug "fatal" (fatal) fatal "warn" (warning) warning "error" (error) error "all" (all) none
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Discord.Net (>= 1.0.2)
- NETStandard.Library (>= 1.6.1)
- Serilog (>= 2.6.0)
- System.Collections (>= 4.3.0)
- System.Globalization (>= 4.3.0)
- System.Linq (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Reflection.Extensions (>= 4.3.0)
- System.Runtime (>= 4.3.0)
- System.Runtime.Extensions (>= 4.3.0)
- System.Text.RegularExpressions (>= 4.3.0)
- System.Threading (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial Release