Пример #1
0
        private void Load()
        {
#if !UNITY_EDITOR
            var load = MRLogSetting.Load().GetAwaiter().GetResult();
            FileName = load.FileName;
            RootPath = load.LogRootPath;
#endif
        }
Пример #2
0
        // Use this for initialization
        private void Start()
        {
            MRLogSetting.Load().GetAwaiter().GetResult();

            MRLog.Debug("The cat can't fly in the sky.");
            MRLog.Info("The cat can't fly in the sky.");
            MRLog.Warn("The cat can't fly in the sky.");
            MRLog.Error("The cat can't fly in the sky.");
            MRLog.Fatal("The cat can't fly in the sky.");
        }