using System;
using Morestachio.Helper.Logging;
using ILogger = Microsoft.Extensions.Logging.ILogger;
namespace Jellyfin.Server.ServerSetupApp;
///
/// Defines the Startup Logger. This logger acts an an aggregate logger that will push though all log messages to both the attached logger as well as the startup UI.
///
public interface IStartupLogger : ILogger
{
///
/// Adds another logger instance to this logger for combined logging.
///
/// Other logger to rely messages to.
/// A combined logger.
IStartupLogger With(ILogger logger);
///
/// Opens a new Group logger within the parent logger.
///
/// Defines the log message that introduces the new group.
/// A new logger that can write to the group.
IStartupLogger BeginGroup(FormattableString logEntry);
}