/// <summary> /// Initializes the <see cref="Skahal.Logging.SHLog"/> class. /// </summary> static SHLog() { if (SHDebug.IsDebugBuild) { LogStrategy = new SHDebugLogStrategy (); } else { LogStrategy = new SHReleaseLogStrategy (); } Debug("SHLog: log strategy: {0}", LogStrategy.GetType()); }
/// <summary> /// Initializes the <see cref="Skahal.Logging.SHLog"/> class. /// </summary> static SHLog() { if (SHDebug.IsDebugBuild) { LogStrategy = new SHDebugLogStrategy(); } else { LogStrategy = new SHReleaseLogStrategy(); } Debug("SHLog: log strategy: {0}", LogStrategy.GetType()); }