Skip to content

Commit

Permalink
fix: Ensure logger is initialized early preventing potential issues w…
Browse files Browse the repository at this point in the history
…hen importing from other libraries
  • Loading branch information
nklomp committed Jun 13, 2024
1 parent 0bd4aec commit eae66f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ssi-types/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { Loggers } from './logging'
// We call the logger first, making sure that any library (re-)using the logger has the static initialized
Loggers.DEFAULT.get('sphereon:ssi').debug(`Sphereon logger initialized`)

export * from './logging'
export * from './events'
export * from './types'
Expand Down

0 comments on commit eae66f2

Please sign in to comment.