debian-mirror-gitlab/app/assets/javascripts/lib/logger/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
181 B
JavaScript
Raw Normal View History

2021-11-11 11:23:49 +05:30
/* eslint-disable no-console */
export const LOG_PREFIX = '[gitlab]';
export const logError = (message = '', ...args) => {
console.error(LOG_PREFIX, `${message}\n`, ...args);
};