os_trace_info_enabled()
Returns whether info level trace information is enabled.
Declaration
func os_trace_info_enabled() -> BoolDiscussion
Generally, trace points should not involve expensive operations, however some circumstances warrant it. Use this function to do expensive work only when info level trace messages are enabled.