Example #1
0
 void Awake()
 {
     // Configure the logger as normal.
     DLogger.Configure("My Game", DLogger.LogLevels.Info);
     DLogger.Log("Logs.");
     // Some check to see if we should not be logging.
     if (this.isProduction)
     {
         DLogger.TurnOff();
     }
     DLogger.Log("Does not log.");
 }