parameters: (self, msg)
docstring: Log some information to the logger (if present), or to stderr. If the message is empty,
  		it is not printed::
  
  			def build(bld):
  				bld.to_log('starting the build')
  
  		When in doubt, override this method, or provide a logger on the context class.
  
  		:param msg: message
  		:type msg: string
docstring_summary: Log some information to the logger (if present), or to stderr. If the message is empty,
  		it is not printed::
docstring_tokens: Log some information to the logger ( if present ) or to stderr . If the message is empty it is not printed ::
function: def to_log(self, msg):
  		"""
  		Log some information to the logger (if present), or to stderr. If the message is empty,
  		it is not printed::
  
  			def build(bld):
  				bld.to_log('starting the build')
  
  		When in doubt, override this method, or provide a logger on the context class.
  
  		:param msg: message
  		:type msg: string
  		"""
  		if not msg:
  			return
  		if self.logger:
  			self.logger.info(msg)
  		else:
  			sys.stderr.write(str(msg))
  			sys.stderr.flush()
function_tokens: def to_log ( self , msg ) : if not msg : return if self . logger : self . logger . info ( msg ) else : sys . stderr . write ( str ( msg ) ) sys . stderr . flush ( )