public virtual NatvisDiagnosticLogger GetNatvisDiagnosticLogger() { if (_natvisLogger == null) { _natvisLogger = new NatvisDiagnosticLogger( YetiLog.GetLogger(""), GetVsiService().Options.NatvisLoggingLevel); } return(_natvisLogger); }
public GrpcLogger(Type forType = null) { this.forType = forType; string forTypeString = "Grpc"; if (forType != null) { var namespaceStr = forType.Namespace ?? ""; if (namespaceStr.Length > 0) { namespaceStr += "."; } forTypeString = namespaceStr + forType.Name + " "; } logger = YetiLog.GetLogger(forTypeString); }