28 lines
810 B
C#
28 lines
810 B
C#
// Undead Universal Patch - for patching Rec Room builds
|
|
// Copyright (C) 2026 proxnet.dev (@zombieb)
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY
|
|
|
|
using BepInEx.Logging;
|
|
|
|
namespace UndeadUniversalPatch.Core;
|
|
|
|
public class LoggerUtils
|
|
{
|
|
public static string MultiLine(params string[] lines)
|
|
{
|
|
return string.Join("\n ", lines);
|
|
}
|
|
|
|
public static ManualLogSource CreateLogSource(string id)
|
|
{
|
|
return Logger.CreateLogSource($"{PluginInfo.DisplayName}-{id}");
|
|
}
|
|
}
|