Package mvpa :: Package misc :: Module verbosity
[hide private]
[frames] | no frames]

Module verbosity

source code

Verbose output and debugging facility

Examples: from verbosity import verbose, debug; debug.active = [1,2,3]; debug(1, "blah")

Classes [hide private]
  Logger
Base class to provide logging
  LevelLogger
Logger which prints based on level -- ie everything which is smaller than specified level
  OnceLogger
Logger which prints a message for a given ID just once.
  SetLogger
Logger which prints based on defined sets identified by Id.
  RelativeTime
Simple helper class to provide relative time it took from previous invocation
  DebugLogger
Logger for debugging purposes.
Functions [hide private]
 
parseStatus(field='VmSize')
Return stat information on current process.
source code

Imports: stdout, stderr, Set, os, re, traceback, time


Function Details [hide private]

parseStatus(field='VmSize')

source code 

Return stat information on current process.

Usually it is needed to know where the memory is gone, that is why VmSize is the default for the field to spit out TODO: Spit out multiple fields. Use some better way than parsing proc