A game about forced loneliness, made by TACStudios
1using System;
2using UnityEngine;
3
4namespace UnityEditor.Graphing
5{
6 class ConsoleLogHandler : ILogHandler
7 {
8 public void LogFormat(LogType logType, UnityEngine.Object context, string format, params object[] args)
9 {
10 var formatted = string.Format(format, args);
11 Console.WriteLine("{0}:{1} - {2}", logType, context, formatted);
12 }
13
14 public void LogException(Exception exception, UnityEngine.Object context)
15 {
16 Console.WriteLine("{0} - {1}", context, exception);
17 }
18 }
19}