Skip to content

Commit

Permalink
Kommenter ut logging som ikke funker lenger i GCP
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathiamu committed Sep 2, 2024
1 parent e202897 commit 279ddd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/frontend-logger.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {erMock} from './url-utils';
import {sendEventTilPortefolje} from '../middleware/api';
// import {sendEventTilPortefolje} from '../middleware/api';

export interface FrontendEvent {
name: string;
Expand All @@ -12,6 +12,7 @@ export const logEvent = (logTag: string, fields?: {}, tags?: {}): void => {
// eslint-disable-next-line no-console
console.log('Event', logTag, 'Fields:', fields, 'Tags:', tags);
} else {
sendEventTilPortefolje({name: logTag, fields: fields, tags: tags});
// Funker ikke etter vi flytta til GCP på grunn av influx som bare er i fss?
// sendEventTilPortefolje({name: logTag, fields: fields, tags: tags});
}
};

0 comments on commit 279ddd0

Please sign in to comment.