mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
24 lines
652 B
C#
24 lines
652 B
C#
namespace Cosmos.Build.Installer {
|
|
static public class Log {
|
|
static public void WriteLine(string aText) {
|
|
LogLine?.Invoke(aText);
|
|
}
|
|
|
|
static public void NewSection(string aText) {
|
|
LogSection?.Invoke(aText);
|
|
}
|
|
|
|
static public void SetError() {
|
|
LogError?.Invoke();
|
|
}
|
|
|
|
public delegate void LogErrorHandler();
|
|
static public event LogErrorHandler LogError;
|
|
|
|
public delegate void LogLineHandler(string aLine);
|
|
static public event LogLineHandler LogLine;
|
|
|
|
public delegate void LogSectionHandler(string aLine);
|
|
static public event LogSectionHandler LogSection;
|
|
}
|
|
}
|