feat: 在前端显示编译过程中的日志 (#67)

Reviewed-on: PostGuard/Canon#67
This commit is contained in:
2024-04-29 23:55:36 +08:00
parent 4d325569fa
commit 911c813996
15 changed files with 243 additions and 204 deletions

View File

@@ -0,0 +1,12 @@
using Microsoft.Extensions.Logging;
namespace Canon.Core.Abstractions;
public interface ICompilerLogger : ILogger
{
IDisposable ILogger.BeginScope<TState>(TState state) => default!;
bool ILogger.IsEnabled(LogLevel logLevel) => true;
public string Build();
}