using Kerobot.Services.Logging; using System.Threading.Tasks; namespace Kerobot { partial class Kerobot { LoggingService _svcLogging; /// /// Appends a log message to the instance log. /// /// Specifies if the message should be sent to the dedicated logging channel on Discord. /// Name of the subsystem from which the log message originated. /// The log message to append. Multi-line messages are acceptable. public Task InstanceLogAsync(bool report, string source, string message) => _svcLogging.DoInstanceLogAsync(report, source, message); /// /// Appends a log message to the guild-specific log. /// /// The guild ID associated with this message. /// Name of the subsystem from which the log message originated. /// The log message to append. Multi-line messages are acceptable. public Task GuildLogAsync(ulong guild, string source, string message) => _svcLogging.DoGuildLogAsync(guild, source, message); } }