mirror of
https://github.com/smyalygames/monopoly.git
synced 2025-12-29 07:48:48 +01:00
Added multiplayer plugin
This commit is contained in:
15
Assets/Mirror/Runtime/Transport/Telepathy/Logger.cs
Normal file
15
Assets/Mirror/Runtime/Transport/Telepathy/Logger.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// A simple logger class that uses Console.WriteLine by default.
|
||||
// Can also do Logger.LogMethod = Debug.Log for Unity etc.
|
||||
// (this way we don't have to depend on UnityEngine.DLL and don't need a
|
||||
// different version for every UnityEngine version here)
|
||||
using System;
|
||||
|
||||
namespace Telepathy
|
||||
{
|
||||
public static class Logger
|
||||
{
|
||||
public static Action<string> Log = Console.WriteLine;
|
||||
public static Action<string> LogWarning = Console.WriteLine;
|
||||
public static Action<string> LogError = Console.Error.WriteLine;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user