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)
15 references to Output
dotnet-dev-certs (15)
Program.cs (13)
248
reporter.
Output
("Cleaning HTTPS development certificates from the machine. A prompt might get " +
253
reporter.
Output
("Cleaning HTTPS development certificates from the machine. This operation might " +
258
reporter.
Output
("Cleaning HTTPS development certificates from the machine. You may wish to update the " +
264
reporter.
Output
("HTTPS development certificates successfully removed from the machine.");
283
reporter.
Output
("No valid certificate found.");
308
reporter.
Output
($@"The following certificates were found, but none of them is trusted: {CertificateManager.ToCertificateDescription(certificates)}");
311
reporter.
Output
($@"Run the command with --verbose for more details.");
323
reporter.
Output
("Run the command with both --check and --trust options to ensure that the certificate is not only valid but also trusted.");
331
reporter.
Output
(certificates.Count switch
407
reporter.
Output
("The HTTPS developer certificate was generated successfully.");
414
reporter.
Output
("A valid HTTPS certificate is already present.");
444
reporter.
Output
("Successfully trusted the existing HTTPS certificate.");
447
reporter.
Output
("Successfully created and trusted a new HTTPS certificate.");
ReporterEventListener.cs (2)
25
EventLevel.LogAlways => _reporter.
Output
,
29
EventLevel.Informational => _reporter.
Output
,