One comment

  1. Don’t know is in this case the traceSwitch.Verbose is a compile time flag or a runtime configuration setting. In the first scenario it would be even better to even not include the code at all.

    #if(TRACE)

    // Very expensive logging code here.

    #endif

    Ramon Smits

Comments are closed.