Version: 5.3

LoggerConstructor

매뉴얼로 전환
public Logger (ILogHandler logHandler);

파라미터

logHandler Pass in default log handler or custom log handler.

설명

Create a custom Logger.

using UnityEngine;
using System.Collections;

public class MyGameClass : MonoBehaviour { private static string kTAG = "MyGameTag"; private Logger myLogger;

void Start() { myLogger = new Logger(Debug.logger.logHandler);

myLogger.Log(kTAG, "MyGameClass Start."); } }