def MtsLog(*args, popup=False): ''' Send string to AF log, marked as belonging to Mitsuba module. Accepts variable args ''' if len(args) > 0: log(' '.join(['%s'%a for a in args]), module_name='Mitsuba', popup=popup)
def LuxLog(*args, popup=False): ''' Send string to AF log, marked as belonging to LuxRender module. Accepts variable args (can be used as pylux.errorHandler) ''' if len(args) > 0: log(' '.join(['%s' % a for a in args]), module_name='Lux', popup=popup)
def LuxLog(*args, popup=False): ''' Send string to AF log, marked as belonging to LuxRender module. Accepts variable args (can be used as pylux.errorHandler) ''' if len(args) > 0: log(' '.join(['%s'%a for a in args]), module_name='Lux', popup=popup)
def sunflowLog(*args, popup=False): ''' Send string to EF log, marked as belonging to sunflow module. Accepts variable args ''' if len(args) > 0: log(' '.join(['%s' % a for a in args]), module_name='sunflow', popup=popup)
def indigo_log(message, popup=False, message_type='INFO'): global REPORTER, PRINT_CONSOLE if REPORTER == None or PRINT_CONSOLE: log('%s: %s' % (message_type, message), popup, module_name='Indigo') else: REPORTER({message_type}, '[Indigo %s] %s' % (time.strftime('%Y-%b-%d %H:%M:%S'), message))
def sketchupLog(*args): if len(args) > 0: log(' '.join(['%s' % a for a in args]), module_name='Sketchup')
def sketchupLog(*args): if len(args) > 0: log(' '.join(['%s'%a for a in args]), module_name='Sketchup')
def ftlog(message): log(message, module_name='FigureTools')