Skip to content

Commit

Permalink
Merge pull request #114 from Financial-Times/reliability-kit-logger
Browse files Browse the repository at this point in the history
Breaking: replace n-logger with Reliability Kit logger
  • Loading branch information
rowanmanning authored Aug 7, 2023
2 parents 8625c55 + 22ae5ed commit b7fe383
Show file tree
Hide file tree
Showing 5 changed files with 756 additions and 180 deletions.
2 changes: 1 addition & 1 deletion lib/helpers/get-endpoint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const logger = require('@financial-times/n-logger').default;
const logger = require('@dotcom-reliability-kit/logger');

const endpoints = {
development: 'https://search-next-elasticsearch-v7-dev-znli3en2mvhur6j35qsr4673fq.eu-west-1.es.amazonaws.com',
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/handle-response.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const httpError = require('http-errors');
const logger = require('@financial-times/n-logger').default;
const logger = require('@dotcom-reliability-kit/logger');

function handleResponse(response) {
if (response.ok) {
Expand Down
2 changes: 1 addition & 1 deletion lib/tag.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const logger = require('@financial-times/n-logger').default;
const logger = require('@dotcom-reliability-kit/logger');

module.exports = () => {
logger.error('DEPRECATED: The `tag` method of n-es-client is obsolete.');
Expand Down
Loading

0 comments on commit b7fe383

Please sign in to comment.