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

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);
};