12 lines
360 B
C#
12 lines
360 B
C#
namespace MeloongCore;
|
|
public static class Main {
|
|
|
|
public static string AppName = "Meloong";
|
|
public static void Init(string appName, BaseLogger? logger = null) {
|
|
AppName = appName;
|
|
AppDomain.CurrentDomain.SetData("REGEX_DEFAULT_MATCH_TIMEOUT", TimeSpan.FromSeconds(5));
|
|
if (logger != null) Logger.Instance = logger;
|
|
}
|
|
|
|
}
|