diff --git a/lib/layout.js b/lib/layout.js index b846a440..4e56ccca 100644 --- a/lib/layout.js +++ b/lib/layout.js @@ -36,12 +36,11 @@ const pkg = JSON.parse(pkgJson); /** * @typedef {(...args: any) => void} LogFunction - * @typedef {{ trace: LogFunction, debug: LogFunction, info: LogFunction, warn: LogFunction, error: LogFunction, fatal: LogFunction }} AbsLogger * * @typedef {Object} LayoutOptions * @property {string} name - (required) layout name * @property {string} pathname - (required) layout pathname - * @property {Console | AbsLogger} [logger] - A logger to use when provided. Can be the console object if console logging is desired but can also be any Log4j compatible logging object as well. Nothing is logged if no logger is provided. (default null) + * @property {Console | import('abslog').AbstractLogger} [logger] - A logger to use when provided. Can be the console object if console logging is desired but can also be any Log4j compatible logging object as well. Nothing is logged if no logger is provided. (default null) * @property {LayoutContext} [context] - Options to be passed on to the internal `@podium/context` constructor. See that module for details. (default null) * @property {LayoutClientOptions} [client] - Options to be passed on to the internal `@podium/client` constructor. See that module for details. (default null) * @property {import("@podium/proxy").default.PodiumProxyOptions} [proxy] - Options to be passed on to the internal `@podium/proxy` constructor. See that module for details. (default null) @@ -117,7 +116,7 @@ export default class PodiumLayout { * layout.log.fatal('fatal log to the console') * ``` * - * @type {AbsLogger} + * @type {import('abslog').AbstractLogger} */ log; diff --git a/package.json b/package.json index 485a8810..b819ac8e 100644 --- a/package.json +++ b/package.json @@ -38,12 +38,12 @@ }, "dependencies": { "@metrics/client": "2.5.2", - "@podium/client": "5.0.7", + "@podium/client": "5.0.8", "@podium/context": "5.0.3", - "@podium/proxy": "5.0.4", + "@podium/proxy": "5.0.6", "@podium/schemas": "5.0.0", "@podium/utils": "5.0.2", - "abslog": "2.4.0", + "abslog": "2.4.2", "ajv": "8.12.0", "lodash.merge": "4.6.2", "objobj": "1.0.0"