private AddEntryIntrenal ( LogEntryOriginator who, |
||
who | LogEntryOriginator | |
optionalAspectType | ||
entryType | EntryType | |
category | string | |
format | string | |
Résultat | void |
private void AddEntryIntrenal(LogEntryOriginator who, Type optionalAspectType, EntryType entryType, string category, string format, params object[] args)
{
var entry = new CallLogEntry
{
Who = who,
Key = category,
What = entryType,
Message = format.SmartFormat(args),
OptionalAspectType = optionalAspectType == null ? null : optionalAspectType.FormatCSharp(true),
};
this.callLog.Add(entry);
}