Skip to content

Instantly share code, notes, and snippets.

@CosmoCleaner
Created March 26, 2015 12:37
Show Gist options
  • Save CosmoCleaner/688c944aea6129fbce12 to your computer and use it in GitHub Desktop.
Save CosmoCleaner/688c944aea6129fbce12 to your computer and use it in GitHub Desktop.
LiveConsole用ログ出力クラス
using UnityEngine;
/// <summary>
/// LiveConsoleログ
/// </summary>
public class LCLog : MonoBehaviour {
/// <summary>
/// ソケット通信のログ
/// </summary>
public static void Socket(string log)
{
Debug.Log(string.Format("[Socket:g]{0}", log));
}
/// <summary>
/// 警告
/// </summary>
public static void Alert(string log)
{
Debug.Log (string.Format ("[Alert:r]{0}", log));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment