mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-25 02:57:31 +00:00
Switch to native .NET logging APIs
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Microsoft.AspNetCore.NodeServices.Util
|
||||
{
|
||||
public class ConsoleNodeInstanceOutputLogger : INodeInstanceOutputLogger
|
||||
{
|
||||
public void LogOutputData(string outputData)
|
||||
{
|
||||
Console.WriteLine("[Node] " + outputData);
|
||||
}
|
||||
|
||||
public void LogErrorData(string errorData)
|
||||
{
|
||||
Console.WriteLine("[Node] " + errorData);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNetCore.NodeServices.Util
|
||||
{
|
||||
public interface INodeInstanceOutputLogger
|
||||
{
|
||||
void LogOutputData(string outputData);
|
||||
|
||||
void LogErrorData(string errorData);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user