All files / app/assets/javascripts/lib/logger index.js

100% Statements 3/3
0% Branches 0/1
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7  87x   87x 14x    
/* eslint-disable no-console */
export const LOG_PREFIX = '[gitlab]';
 
export const logError = (message = '', ...args) => {
  console.error(LOG_PREFIX, `${message}\n`, ...args);
};