public void Add(Object obj, string text, PostingContext postingContext) { Add(LogLevel.Verbose, obj.GetType().Name, text, postingContext.PreTransID, postingContext.PostingID); }
public void TraceProxy(string providerName, string providerVersion, int level, string command, string text, PostingContext postingContext) { TraceProxy(providerName, providerVersion, level, command, text, postingContext.Reference, postingContext.TraceParameters, null, null); }
public void TracePostingCompleted(IPayable payItem, DirectionType direction, Amount amount, PostingContext postingContext) { if (postingContext != null) { Add(LogLevel.Info, payItem.GetType().Name, string.Format("{0} posting: ID={1}, PayItemID={2}, amount={3} finished, ref={4}", Util.Convertion.EnumValueToName<DirectionType>(direction), postingContext.PostingID, payItem.ID, amount, postingContext.ExternalReference), postingContext.PreTransID, postingContext.PostingID); } }
public void TracePostingStarted(IPayable payItem, DirectionType direction, Amount amount, PostingContext postingContext) { if (postingContext != null) { Add(LogLevel.Info, payItem.GetType().Name, string.Format("{0} posting: ID={1}, PayItemID={2}, amount={3} started", Util.Convertion.EnumValueToName<DirectionType>(direction), postingContext.PostingID, payItem.ID, amount), postingContext.PreTransID, postingContext.PostingID); } }
public PostingsController(PostingContext context, PlayerContext playerContext) { _context = context; _playerContext = playerContext; }