Created
June 24, 2011 09:18
-
-
Save aidanmorgan/1044480 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class KeyedLogEntry : LogEntry | |
{ | |
public string AdditionalKey { get; set; } | |
public static KeyedLogEntry Create(string Logger, string key, string Message) | |
{ | |
KeyedLogEntry entry = new KeyedLogEntry() | |
{ | |
AdditionalKey = key, | |
Created = DateTime.Now, | |
Id = Guid.NewGuid(), | |
Logger = Logger, | |
Message = Message | |
}; | |
return entry; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment