ExBuddy.Logging.Logger.Logger C# (CSharp) Method

Logger() static private method

static private Logger ( ) : System
return System
		static Logger()
		{
			var assembly = Assembly.GetExecutingAssembly();
			if (assembly.IsDefined(typeof (AssemblyFileVersionAttribute)))
			{
				try
				{
					var versionAttr = assembly.GetCustomAttribute<AssemblyFileVersionAttribute>();
					Version = new Version(versionAttr.Version);
					return;
				}
				catch
				{
					// ignored
				}
			}

			// Give a generic version here, won't need to worry about this if i switch to using a dll.
			Version = new Version(3, 0, 7);
		}

Same methods

Logger::Logger ( ILogColors logColors, string name = null, bool includeVersion = false ) : System