public void Log(LogCatType logType, string log) { onLogAction?.Invoke(logType, log); if (logType == LogCatType.Error) { LogCat.LogError(log); } }
public LogMessage(string message, string stackTrace, LogCatType logType) { this.message = message; this.stackTrace = stackTrace != null ? " " + stackTrace.Replace("\n", "\n ") : null; this.logType = logType; }
public LogCatTypeInfo(LogCatType logType, Color color) { this.logType = logType; this.color = color; }