2 implementations of Output
dotnet-dev-certs (2)
src\Tools\Shared\CommandLine\ConsoleReporter.cs (1)
57
public virtual void
Output
(string message)
src\Tools\Shared\CommandLine\NullReporter.cs (1)
20
public void
Output
(string message)
16 references to Output
dotnet-dev-certs (16)
Program.cs (14)
272
reporter.
Output
("Cleaning HTTPS development certificates from the machine. A prompt might get " +
277
reporter.
Output
("Cleaning HTTPS development certificates from the machine. This operation might " +
282
reporter.
Output
("Cleaning HTTPS development certificates from the machine. You may wish to update the " +
288
reporter.
Output
("HTTPS development certificates successfully removed from the machine.");
307
reporter.
Output
("No valid certificate found.");
332
reporter.
Output
($@"The following certificates were found, but none of them is trusted: {CertificateManager.ToCertificateDescription(certificates)}");
335
reporter.
Output
($@"Run the command with --verbose for more details.");
347
reporter.
Output
("Run the command with both --check and --trust options to ensure that the certificate is not only valid but also trusted.");
355
reporter.
Output
(certificates.Count switch
367
reporter.
Output
(JsonSerializer.Serialize(certReports, options: new JsonSerializerOptions { WriteIndented = true }));
441
reporter.
Output
("The HTTPS developer certificate was generated successfully.");
448
reporter.
Output
("A valid HTTPS certificate is already present.");
478
reporter.
Output
("Successfully trusted the existing HTTPS certificate.");
481
reporter.
Output
("Successfully created and trusted a new HTTPS certificate.");
ReporterEventListener.cs (2)
25
EventLevel.LogAlways => _reporter.
Output
,
29
EventLevel.Informational => _reporter.
Output
,