Aspectacular.CallLifetimeLog.AddEntryIntrenal C# (CSharp) 메소드

AddEntryIntrenal() 개인적인 메소드

private AddEntryIntrenal ( LogEntryOriginator who, Type optionalAspectType, EntryType entryType, string category, string format ) : void
who LogEntryOriginator
optionalAspectType System.Type
entryType EntryType
category string
format string
리턴 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);
        }