Initial commit
This commit is contained in:
27
Core/LoggerUtils.cs
Normal file
27
Core/LoggerUtils.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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}");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user