- Added the base data structure for the new database - Added the new routes for the new database - Reworked the users endpoints
19 lines
253 B
JavaScript
19 lines
253 B
JavaScript
import pino from 'pino';
|
|
|
|
const logger = pino();
|
|
|
|
export function log(x) {
|
|
logger.info(x);
|
|
}
|
|
|
|
export function debug(x) {
|
|
logger.debug(x);
|
|
}
|
|
|
|
export function warn(x) {
|
|
logger.warn(x);
|
|
}
|
|
|
|
export function error(x) {
|
|
logger.error(x);
|
|
} |