﻿using UnityEngine;
using System.Collections;

namespace UDBase.Components.Log {
	public class LogTags {
		public const int Common = 1;
		public const int UI     = 2;

		string[] _names = new string[]{"Common", "UI"};

		public virtual string GetName(int index) {
			switch( index ) {
				case Common: {
						return "Common";
				}

				case UI: {
						return "UI";
				}
			}
			return "Unknown";
		}

		public virtual string[] GetNames() {
			return _names;
		}
	}
}
﻿using UnityEngine;
using System.Collections;

namespace UDBase.Components.Log {
	public class LogTags {
		public const int Common = 1;
		public const int UI     = 2;
		public const int Scene  = 3;

		string[] _names = new string[]{"Common", "UI", "Scene"};

		public virtual string GetName(int index) {
			switch( index ) {
				case Common : return "Common";
				case UI     : return "UI";
				case Scene  : return "Scene";
			}
			return "Unknown";
		}

		public virtual string[] GetNames() {
			return _names;
		}
	}
}
Add tag for Scene logs; Code alignment;
Add tag for Scene logs; Code alignment;
