Ghost/core/shared/i18n/index.js
Sam Lord caea330647 Change to use @tryghost/logging
no issue

Logging is now controlled by a logginrc.js file in the root of the project - and now we can just import @tryghost/logging everywhere
2021-06-15 15:59:11 +01:00

7 lines
223 B
JavaScript

const path = require('path');
const logging = require('@tryghost/logging');
const I18n = require('./i18n');
module.exports = new I18n({logging, basePath: path.join(__dirname, 'translations')});
module.exports.I18n = I18n;