Exemple #1
0
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)
Exemple #2
0
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)
Exemple #3
0
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)
Exemple #4
0
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)
Exemple #5
0
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 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 sketchupLog(*args):
    if len(args) > 0:
        log(' '.join(['%s' % a for a in args]), module_name='Sketchup')
Exemple #8
0
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))
Exemple #9
0
def sketchupLog(*args):
    if len(args) > 0:
        log(' '.join(['%s'%a for a in args]), module_name='Sketchup')
Exemple #10
0
def ftlog(message):
    log(message, module_name='FigureTools')