debian-mirror-gitlab/app/assets/javascripts/lib/logger/index.js
2021-11-11 11:23:49 +05:30

6 lines
181 B
JavaScript

/* eslint-disable no-console */
export const LOG_PREFIX = '[gitlab]';
export const logError = (message = '', ...args) => {
console.error(LOG_PREFIX, `${message}\n`, ...args);
};