public void Error(IWindowObject @object, string data) { if (this.enabled == false) return; Debug.LogError(string.Format("[ <b>{0}</b> ] {1}", (@object as MonoBehaviour).name, data), @object as MonoBehaviour); }
public void Error(IWindowObject @object, string data) { if (this.enabled == false) { return; } Debug.LogError(string.Format("[ <b>{0}</b> ] {1}", (@object as MonoBehaviour).name, data), @object as MonoBehaviour); }
public void Warning(IWindowObject @object, string data) { if (this.enabled == false) { return; } if (UnityEngine.UI.Windows.Constants.LOGS_ENABLED == true) { UnityEngine.Debug.LogWarning(string.Format("{2} [ <b>{0}</b> ] {1}", (@object as MonoBehaviour).name, data, this.GetTimestamp()), @object as MonoBehaviour); } }
public static void Error(IWindowObject @object, string data) { WindowSystemLogger.instance.logger.Error(@object, data); }
public static void Warning(IWindowObject @object, string data) { WindowSystemLogger.instance.logger.Warning(@object, data); }
public DecorationB(IWindowObject decoratedWindow) : base(decoratedWindow) { }
protected IWindowObject _decoratedWindow = null; // the object being decorated #endregion Fields #region Constructors public Decorator(IWindowObject decoratedWindow) { _decoratedWindow = decoratedWindow; }
public static void Error(IWindowObject @object, string data) { WindowSystemLogger.instance.logger.Error(@object, data); }
public static void Warning(IWindowObject @object, string data) { WindowSystemLogger.instance.logger.Warning(@object, data); }
public DecorationA(IWindowObject decoratedWindow) : base(decoratedWindow) { }
protected IWindowObject _decoratedWindow = null; // the object being decorated public Decorator(IWindowObject decoratedWindow) { _decoratedWindow = decoratedWindow; }