Package sabayon :: Module debuglog :: Class DebugLog
[hide private]
[frames] | no frames]

Class DebugLog

source code

This class is internal. Use the following functions instead: debug_log() debug_log_current_exception() debug_log_load_configuration() debug_log_is_domain_enabled() debug_log_dump_as_list() debug_log_dump_to_file() debug_log_dump_configuration()

Instance Methods [hide private]
  __init__(self)
  ensure_ring_buffer(self)
  is_domain_enabled(self, domain)
  add_to_ring(self, msg)
  add_to_milestones(self, msg)
  enable_domain(self, domain)
  disable_domain(self, domain)
  enable_domains_from_string(self, s)
  set_max_lines(self, num_lines)
  set_max_lines_from_string(self, s)
  load_configuration(self, filename)
  dump_configuration(self, file)
  make_configuration_string(self)
  dump_configuration_to_list(self, list, config_filename)
  dump_milestones_to_list(self, list, config_filename)
  dump_ring_buffer_to_list(self, list, config_)
  dump_to_list(self, list, config_filename)
  clear(self)

Class Variables [hide private]
  SECTION_DEBUG_LOG = 'debug log'
  KEY_ENABLE_DOMAINS = 'enable domains'
  KEY_MAX_LINES = 'max lines'
  DEFAULT_MAX_LINES = 1000

Method Details [hide private]

__init__(self)
(Constructor)

source code 
None

ensure_ring_buffer(self)

source code 
None

is_domain_enabled(self, domain)

source code 
None

add_to_ring(self, msg)

source code 
None

add_to_milestones(self, msg)

source code 
None

enable_domain(self, domain)

source code 
None

disable_domain(self, domain)

source code 
None

enable_domains_from_string(self, s)

source code 
None

set_max_lines(self, num_lines)

source code 
None

set_max_lines_from_string(self, s)

source code 
None

load_configuration(self, filename)

source code 
None

dump_configuration(self, file)

source code 
None

make_configuration_string(self)

source code 
None

dump_configuration_to_list(self, list, config_filename)

source code 
None

dump_milestones_to_list(self, list, config_filename)

source code 
None

dump_ring_buffer_to_list(self, list, config_)

source code 
None

dump_to_list(self, list, config_filename)

source code 
None

clear(self)

source code 
None

Class Variable Details [hide private]

SECTION_DEBUG_LOG

None
Value:
'debug log'                                                            
      

KEY_ENABLE_DOMAINS

None
Value:
'enable domains'                                                       
      

KEY_MAX_LINES

None
Value:
'max lines'                                                            
      

DEFAULT_MAX_LINES

None
Value:
1000