// TraceLogger.cs (WelsonJS.Esent) // SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: 2025 Namhyeon Go , Catswords OSS and WelsonJS Contributors // https://github.com/gnh1201/welsonjs // // We use the ICompatibleLogger interface to maintain a BCL-first style. // This allows for later replacement with logging libraries such as ILogger or Log4Net. // using System.Diagnostics; namespace WelsonJS.Esent { public class TraceLogger : ICompatibleLogger { public void Info(string message) => Trace.TraceInformation(message); public void Warn(string message) => Trace.TraceWarning(message); public void Error(string message) => Trace.TraceError(message); } }