コード例 #1
0
        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));
        }
コード例 #2
0
 public static IMemberLogger Add(IMemberLogger memberLogger1, IMemberLogger memberLogger2)
 {
     return(new MemberLogger(memberLogger1, memberLogger2));
 }
コード例 #3
0
 public MemberLogger(IMemberLogger memberLogger1, IMemberLogger memberLogger2)
 {
     this.memberLogger1 = memberLogger1;
     this.memberLogger2 = memberLogger2;
 }
コード例 #4
0
 public BufferedMemberLogger(IMemberLogger memberLogger, Action <DateTime, string> logVerbose, bool startActivity)
 {
     this.memberLogger  = memberLogger;
     this.logVerbose    = logVerbose;
     this.startActivity = startActivity;
 }