Skip to content

Commit fc1833b

Browse files
authored
Merge pull request #731 from navikt/fjernerFrontendlogger
Kommenterer ut logging
2 parents 784c124 + 84ddae9 commit fc1833b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/frontend-logger.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import {sendEventTilPortefolje} from '../middleware/api';
21
import {erMock} from './url-utils';
32

43
export interface FrontendEvent {
@@ -11,6 +10,7 @@ export const logEvent = (logTag: string, fields?: {}, tags?: {}): void => {
1110
if (erMock()) {
1211
console.log('Event', logTag, 'Fields:', fields, 'Tags:', tags);
1312
} else {
14-
sendEventTilPortefolje({name: logTag, fields: fields, tags: tags});
13+
// TODO: legg tilbake etter prodhendelsen er over
14+
//sendEventTilPortefolje({name: logTag, fields: fields, tags: tags});
1515
}
1616
};

0 commit comments

Comments
 (0)