mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 23:02:34 +02:00
This massively reduces the file count of published SS14 builds by a few thousand, by combining YAML prototypes and Fluent files in the same folder into one file.
18 lines
415 B
C#
18 lines
415 B
C#
using System.IO;
|
|
using Robust.Packaging;
|
|
using Robust.Shared.Log;
|
|
|
|
namespace Robust.UnitTesting.Packaging;
|
|
|
|
/// <summary>
|
|
/// Package logger for writing to NUnit's test context.
|
|
/// </summary>
|
|
/// <param name="writer"></param>
|
|
public sealed class PackageLoggerNUnit(TextWriter writer) : IPackageLogger
|
|
{
|
|
public void Log(LogLevel level, string msg)
|
|
{
|
|
writer.WriteLine($"[{level}] {msg}");
|
|
}
|
|
}
|