Closed KubaZ2 closed 2 months ago
quoting me from the NetCord server
actually I do think that this feature wouldn't be good as somebody may not wish to log to console by default and as hosting extensions provide logging by default that doesn't involve users to implement event handlers, I think logging by events would stay
Description
Preferably
IGatewayLogger
andIRestLogger
.To allow easy configuration, the logger used for the
GatewayClient
would implementIRestLogger
too. In that case, whenRestClientConfiguration
passed in theGatewayClientConfiguration
doesn't specify theIRestLogger
explicitly (it isnull
), the logger used for the gateway is used.