// Copyright Epic Games, Inc. All Rights Reserved. using EpicGames.UBA.Impl; namespace EpicGames.UBA { /// /// The verbosity of a log entry /// public enum LogEntryType { /// /// Error verbosity /// Error = 0, /// /// Warning verbosity /// Warning = 1, /// /// Info verbosity /// Info = 2, /// /// Info verbosity /// Detail = 3, /// /// Info verbosity /// Debug = 4, } /// /// Base interface for logging functionality /// public interface ILogger : IBaseInterface { /// /// Begin logging scope /// public abstract void BeginScope(); /// /// End logging scope /// public abstract void EndScope(); /// /// Log message /// /// entry verbosity /// the message to log public abstract void Log(LogEntryType type, string message); /// /// Create a ILogger object /// /// The Microsoft.Extensions.Logging.ILogger to wrap /// The ILogger public static ILogger CreateLogger(Microsoft.Extensions.Logging.ILogger logger) { return new LoggerImpl(logger); } } }