code: 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'
                      );
                  }
              }
docs: Exec console output
  @param func
  @param log