Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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))
Esempio n. 6
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)
def sketchupLog(*args):
    if len(args) > 0:
        log(' '.join(['%s' % a for a in args]), module_name='Sketchup')
Esempio n. 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))
Esempio n. 9
0
def sketchupLog(*args):
    if len(args) > 0:
        log(' '.join(['%s'%a for a in args]), module_name='Sketchup')
Esempio n. 10
0
def ftlog(message):
    log(message, module_name='FigureTools')