示例#1
0
        /// <summary>
        ///     Method used for logging Discord.NET messages and awaitable messages.
        /// </summary>
        /// <param name="message"></param>
        /// <returns></returns>
        public static Task TaskLog(LogMessage message)
        {
            PrivateLog(message.ToString(prependTimestamp: false, padSource: null),
                       LoggerUtils.ConvertToLogLevel(message.Severity), message.Source, true);

            return(Task.CompletedTask);
        }