using System; namespace LightReflectiveMirror { partial class Program { public int GetConnections() => _currentConnections.Count; public TimeSpan GetUptime() => DateTime.Now - _startupTime; public int GetPublicRoomCount() => _relay.rooms.Where(x => x.isPublic).Count(); static void WriteLogMessage(string message, ConsoleColor color = ConsoleColor.White, bool oneLine = false) { Console.ForegroundColor = color; if (oneLine) Console.Write(message); else Console.WriteLine(message); } void WriteTitle() { string t = @" w c(..)o ( _ _____ __ __ \__(-) __) | | | __ \ | \/ | /\ ( | | | |__) || \ / | /(_)___) | | | _ / | |\/| | w /| | |____ | | \ \ | | | | | \ |______||_| \_\|_| |_| m m copyright monkesoft 2021 "; string load = $"Chimp Event Listener Initializing... OK" + "\nHarambe Memorial Initializing... OK" + "\nBananas Initializing... OK\n"; WriteLogMessage(t, ConsoleColor.Green); WriteLogMessage(load, ConsoleColor.Cyan); } } }