21 lines
509 B
C#

using EDPlayerJournal;
using EDPlayerJournal.Entries;
namespace EDJournalWatcher;
public class Program {
public static void Main(string[] args) {
PlayerJournal journal = new();
JournalStream stream = new(journal);
stream.NewJournalEntry += Stream_NewJournalEntry;
while (true) {
stream.ProcessQueues();
}
}
private static void Stream_NewJournalEntry(Entry entry) {
Console.WriteLine(entry.ToString());
}
}