Skip to content

Commit

Permalink
DPP-96 updated event logger readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Brummos committed Dec 11, 2023
1 parent f213bc6 commit 8750cea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/event-logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,17 @@ await logger.logEvent({
### Log event manually:

```typescript
import {
AuditLoggingEvent,
LogLevel,
System,
SubSystem,
ActionType,
InitiatorType,
SystemCorrelationIdType,
PartyCorrelationType
} from '@sphereon/ssi-sdk.core'

const auditEvent: Omit<AuditLoggingEvent, 'id' | 'timestamp'> = {
level: LogLevel.DEBUG,
correlationId: 'b40b8474-58a2-4b23-9fde-bd6ee1902cdb',
Expand Down

0 comments on commit 8750cea

Please sign in to comment.