Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PTrace::CanTrace ( unsigned  level  )  [static]

Determine if the level may cause trace output. This checks against the current global trace level set by PSetTraceLevel# for if the trace output may be emitted. This is used by the PTRACE macro.

Parameters:
level  Trace level to check

Definition at line 977 of file osutils.cxx.

{
  return level <= PTraceLevelThreshold;
}


Generated by  Doxygen 1.6.0   Back to index