Microsoft.NET Question:
Is there built-in support for tracing/logging?
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.
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.
Previous Question | Next Question |
How to redirect tracing to a file? | How to stop a thread? |