Tracing the Application
Sys.TraceError(Sys.TraceApplication, text, args);
Sys.TraceWarning(Sys.TraceApplication, text, args);
Sys.TraceInfo(Sys.TraceApplication, text, args);
Sys.TraceVerbose(Sys.TraceApplication, text, args);
Sys.TraceException(Sys.TraceApplication, exception, level);Sys.TraceInfo(
Sys.TraceApplication,
"Login failed. User {0} has been locked.", strUserID);<system.diagnostics>
<switches>
<add name="Application" value="3" />
</switches>
...
</system.diagnostics>Last updated
Was this helpful?