::xox
Class Logging

Heritage:
::xotcl::Object
Class Logging
superclass ::xotcl::Object,
Mixin that gives classes access to the logging facility via
 my log $level $message
Variables
NameDefault ValueClassComment
 
Methods
NameComment
log {level message}   The logging facility
   
Methods from ::xotcl::Object
#, ., ?, ?code, ?methods, ?object, abstract, copy, coverageFilter, defaultmethod, extractConfigureArg, filterappend, garbageCollect, get#, getClean#, hasclass, init, methodTag, mixinappend, move, profileFilter, self, setParameterDefaults, shell, tclcmd, traceFilter,
 
Instproc Detail

log

Description:
 The logging facility.  The level may be one of 
 debug, info, notice, warn, error, or critical.
Arguments:
Code:
  ::xox::Logging instproc log {level message}  {
   

      set class [ self callingclass ]
      set method [ self callingproc ]
      set object [ self callingobject ]

      ::xox::Logger log $object $class $method $level $message
  
}