Created
August 6, 2015 15:42
-
-
Save talenguyen/0de8417c95ab65d9558d to your computer and use it in GitHub Desktop.
Log wrapper help to easy to debug on Android or iOS build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Logger : MonoSingleton<Logger> | |
{ | |
[SerializeField] | |
private string | |
tag = "Logger"; | |
public void logDebug (string message) | |
{ | |
Debug.LogFormat ("UNITY LOGGER ========> " + tag + " ====> " + message); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment