internal bool ShouldLog(UnityEngineLogLevel type) { if (!BreadcrumbsLevel.HasFlag(BacktraceBreadcrumbType.Manual)) { return(false); } return(UnityLogLevel.HasFlag(type)); }
internal bool AddBreadcrumbs(string message, BreadcrumbLevel level, UnityEngineLogLevel type, IDictionary <string, string> attributes = null) { if (!BreadcrumbsLevel.HasFlag((BacktraceBreadcrumbType)level)) { return(false); } return(LogManager.Add(message, level, type, attributes)); }