Microsoft.NET Question:

Is there built-in support for tracing/logging?

Tweet Share WhatsApp

Answer:

Basically there are two ways by which you can enable tracing.

i. page label ii.application label.

For page label tracing in the page directive write the following

<@page trace="True">

and if you want show some message then either wrire trace.write(message) or trace.warn(some warning message)

note that trace.warn will show the message in red color.

Download Microsoft.NET PDF Read All 31 Microsoft.NET Questions
Previous QuestionNext Question
How to redirect tracing to a file?How to stop a thread?