RoomService v2.3.1
Loading...
Searching...
No Matches
RoomService.PrintLogger Class Reference

Lua function to print the time logger to the console.

Member Function Documentation

◆ Implementation()

void RoomService.PrintLogger.Implementation ( )
inlineprivate

Usage:

Lua function to print the time logger to the console.
Definition RoomServiceLuaFunctions.cs:950
Definition MyPluginInfo.cs:2

Source Code

965 {
966 if (!RoomServiceUtils.IsOnlineHost())
967 {
968 return;
969 }
970
971 string[] content = Plugin.Instance.GetLoggerLines();
972 string logLine = string.Join('\n', content);
973 Utilities.Log(logLine);
974 }