コード例 #1
0
 public Logger(
     NivelLogger nivel, Guid rastreio,
     string acao, string mensagem,
     int ordem, DateTime iniciaEm,
     Type tipo, MinhaConta usuario = null)
     : this()
 {
     this.Nivel     = nivel;
     this.Rastreio  = rastreio;
     this.Acao      = acao;
     this.Mensagem  = mensagem;
     this.Ordem     = ordem;
     this.IniciaEm  = iniciaEm;
     this.Usuario   = new LoggerUsuario(usuario);
     this.Namespace = tipo.FullName;
 }
コード例 #2
0
 public FiltrarCmd RemoverNivelLogger(NivelLogger valor)
 {
     this.Niveis.Remove(valor);
     return(this);
 }
コード例 #3
0
 public FiltrarCmd AdicionarNivelLogger(NivelLogger valor)
 {
     this.Niveis.Add(valor);
     return(this);
 }