Skip to main content

Programmatic API

The AuditLogService can be injected into your own services and plugins to query and create audit log entries programmatically, without going through the GraphQL API.

Injecting the service

The AuditLogService is exported from the @vendure-ee/audit-trail package and can be injected using standard NestJS dependency injection:

Exclusive to Vendure Platform

This page is part of the Vendure Platform documentation. Access requires a valid Vendure Platform license.