mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
24 lines
437 B
C#
24 lines
437 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using AssetStudio;
|
|
|
|
namespace AssetStudioGUI
|
|
{
|
|
class GUILogger : ILogger
|
|
{
|
|
private Action<string> action;
|
|
|
|
public GUILogger(Action<string> action)
|
|
{
|
|
this.action = action;
|
|
}
|
|
|
|
public void Log(LoggerEvent loggerEvent, string message)
|
|
{
|
|
action(message);
|
|
}
|
|
}
|
|
}
|