How do I write warnings or information into a browser console in Blazor WebAssembly?

Platform: Blazor| Category : General, WebAssembly

Warnings or other content can be written in a browser console by using the Console.WriteLine(“content”) method in Blazor WebAssembly.

@code {
    protected override void OnInitialized()
    {
        Console.WriteLine("Blazor is awesome!");
    }
}

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.