public LogEntry(Log source, LogMessageType type, string msg, object context) { this.source = source; this.type = type; this.msg = msg; this.context = context; this.indent = source.Indent; this.timestamp = DateTime.Now; this.frameIndex = Time.FrameCount; }