Conditionally writes a message to the trace.
The message is only written if condition is true.
The message is written both to the Sitecore trace and to the current context trace.
MainUtil.Trace(true, "Point of no return reached.");
MainUtil Class | Sitecore Namespace | Trace