public IMemberLogger CreateMemberLogger(IMemberLogger memberLogger, bool shouldVerboseWithStackTrace, bool startActivity) { var buffer = new VerboseBuffer(memberLogger.LogBufferedVerbose, shouldVerboseWithStackTrace); buffers.Add(buffer); return(new BufferedMemberLogger(memberLogger, buffer.LogVerbose, startActivity)); }
public static IMemberLogger Add(IMemberLogger memberLogger1, IMemberLogger memberLogger2) { return(new MemberLogger(memberLogger1, memberLogger2)); }
public MemberLogger(IMemberLogger memberLogger1, IMemberLogger memberLogger2) { this.memberLogger1 = memberLogger1; this.memberLogger2 = memberLogger2; }
public BufferedMemberLogger(IMemberLogger memberLogger, Action <DateTime, string> logVerbose, bool startActivity) { this.memberLogger = memberLogger; this.logVerbose = logVerbose; this.startActivity = startActivity; }