framework/core/logger.js
function exec_console(func, log, format) {
                if (format === 'json') {
                    func(JSON.stringify(log));
                } else {
                    func(
                        ' ' + log.type + '\n',
                        'CREATED: ' + log.created + '\t ' + '\n',
                        'MESSAGE: ' + log.message + '\t ' + log.trace + '\n',
                        !!log.data ? 'DATA:' + log.data + '\n' : '',
                        '\n'
                    );
                }
            }
function exec_console(func, log, format) {
                if (format === 'json') {
                    func(JSON.stringify(log));
                } else {
                    func(
                        ' ' + log.type + '\n',
                        'CREATED: ' + log.created + '\t ' + '\n',
                        'MESSAGE: ' + log.message + '\t ' + log.trace + '\n',
                        !!log.data ? 'DATA:' + log.data + '\n' : '',
                        '\n'
                    );
                }
            }
function exec_console ( func , log , format ) { if ( format === 'json' ) { func ( JSON . stringify ( log ) ) ; } else { func ( ' ' + log . type + '\n' , 'CREATED: ' + log . created + '\t ' + '\n' , 'MESSAGE: ' + log . message + '\t ' + log . trace + '\n' , ! ! log . data ? 'DATA:' + log . data + '\n' : '' , '\n' ) ; } }
Exec console output
@param func
@param log
Exec console output