Skip to content

Instantly share code, notes, and snippets.

@talenguyen
Created August 6, 2015 15:42
Show Gist options
  • Save talenguyen/0de8417c95ab65d9558d to your computer and use it in GitHub Desktop.
Save talenguyen/0de8417c95ab65d9558d to your computer and use it in GitHub Desktop.
Log wrapper help to easy to debug on Android or iOS build
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