strapi-plugin-logz
Version:
Automatically capture and record the API calls made to your Strapi application
34 lines (33 loc) • 746 B
TypeScript
/**
* Configuration for the Logz Strapi plugin
*/
export interface LogzConfig {
/**
* Enter the list of collections to skip creating logs for
*
* @default []
*
* @example
* ```ts
* // config/plugins.ts
*export default ({ env }) => ({
* // ...
* logz: {
* enabled: true,
* config: {
* // This will skip creating logs for the collection "car"
* // All requests sent to /api/cars will not be logged
* skipList: ["car"],
* },
* },
* // ...
*});
*/
skipList: Array<string>;
/**
* Enter the list of endpoints to skip creating logs for
*
* @default []
*/
skipEndpoints: Array<string>;
}