--- trunk/RomCheater.Logging/logger.cs 2012/05/10 13:55:44 111 +++ trunk/RomCheater.Logging/logger.cs 2012/05/10 14:01:31 112 @@ -112,13 +112,17 @@ namespace RomCheater.Logging public static List<ushort> GetValues() { return value_pairs.Keys.ToList(); } public static List<string> GetNames() { return name_pairs.Keys.ToList(); } + + public string Name { get { return CurrentValue.Name; } } + public ushort Value { get { return CurrentValue.Value; } } + } public static class logger { private static loggerflags logging_flags; static logger() { SetLoggingFlags(loggerflags.DEFAULT); } public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; } - public static ushort GetLoggingFlags() { return logging_flags; } + public static loggerflags GetLoggingFlags() { return logging_flags; } #region sub-classes private static string CreateTimeStamp() { |