1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-06-05 22:09:25 +02:00

fix: set up logger from Svelte app on app boot

This commit is contained in:
Ondřej Synáček
2020-12-20 15:06:08 +01:00
parent 29ad7fcf73
commit 377a4bcd80
3 changed files with 10 additions and 15 deletions

View File

@ -0,0 +1,8 @@
import logger from '../static/app/logger'
import { configStore } from './stores'
export default () => {
const enableTracking = configStore.track
logger.setRemoteLogging(enableTracking)
}