Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Add LogEntry's State
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Aug 19, 2014
1 parent a63d546 commit ae9c01d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ public class LogEntry
public UnityEngine.Object Context { get; private set; }
public Exception Exception { get; private set; }
public string StackTrace { get; private set; }
public object State { get; set; }

public LogEntry(string loggerName, LogType logType, DateTime timestamp, string message, UnityEngine.Object context = null, Exception exception = null, string stackTrace = null)
public LogEntry(string loggerName, LogType logType, DateTime timestamp, string message, UnityEngine.Object context = null, Exception exception = null, string stackTrace = null, object state = null)
{
this.LoggerName = loggerName;
this.LogType = logType;
Expand All @@ -28,6 +29,7 @@ public LogEntry(string loggerName, LogType logType, DateTime timestamp, string m
this.Context = context;
this.Exception = exception;
this.StackTrace = stackTrace;
this.State = state;
}

public override string ToString()
Expand Down

0 comments on commit ae9c01d

Please sign in to comment.