Skip to content
Docs Try Aspire

log

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface ILogger {
// ... omitted for brevity
log(
level: string,
message: string): void;
}

Signature

method log
Logs a message with specified level
log(
level: string,
message: string): void
level string
message string

Applies to

This function is an extension method on the following types: