Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit 2584a0b

Browse files
Log TODO
1 parent b5a9048 commit 2584a0b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Scripts/Scenes/Lobby/UILobbyPlayerListing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void SetHost(bool value)
4848
private void _on_Kick_pressed()
4949
{
5050
// TODO: Kick Id
51-
Logger.LogDebug(Id);
51+
Logger.LogTODO("Kick ID: " + Id);
5252
}
5353
}
5454
}

Scripts/Utils/Logger.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public static void LogErr(Exception ex, string hint = "")
1313
Hint = hint
1414
}));
1515
}
16+
public static void LogTODO(object v, ConsoleColor color = ConsoleColor.White) => Log($"[TODO]: {v}", color);
1617
public static void LogWarning(object v, ConsoleColor color = ConsoleColor.Yellow) => Log($"[Warning]: {v}", color);
1718
public static void LogDebug(object v, ConsoleColor color = ConsoleColor.Magenta) => Log($"[Debug]: {v}", color);
1819
public static void Log(object v, ConsoleColor color = ConsoleColor.Gray)

0 commit comments

Comments
 (0)