strapi-plugin-magic-mark 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/server/index.js +564 -496
- package/dist/server/index.mjs +564 -496
- package/dist/server/src/config/index.d.ts +3 -1
- package/dist/server/src/index.d.ts +3 -1
- package/dist/server/src/utils/logger.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Core } from '@strapi/strapi';
|
|
2
|
+
interface Logger {
|
|
3
|
+
info: (...args: unknown[]) => void;
|
|
4
|
+
debug: (...args: unknown[]) => void;
|
|
5
|
+
warn: (...args: unknown[]) => void;
|
|
6
|
+
error: (...args: unknown[]) => void;
|
|
7
|
+
forceError: (...args: unknown[]) => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Creates a logger instance that respects debug config
|
|
11
|
+
* @param strapi - Strapi instance
|
|
12
|
+
* @returns Logger with info, debug, warn, error methods
|
|
13
|
+
*/
|
|
14
|
+
export declare function createLogger(strapi: Core.Strapi): Logger;
|
|
15
|
+
export {};
|
package/package.json
CHANGED