19 lines
473 B
C#
19 lines
473 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace GraphingCalculator
|
|
{
|
|
public static class Log
|
|
{
|
|
private static List<string> entries = new List<string>();
|
|
public static List<string> Entries { get { return entries; } }
|
|
|
|
public static void LogEvent (string format, params object[] p)
|
|
{
|
|
entries.Add(DateTime.Now + ": " + String.Format(format, p));
|
|
}
|
|
}
|
|
}
|