Skip to main content

types/ActionLogger

@prismatic-io/spectral"types/ActionLogger"

Actions' perform functions receive a logger object as part of their first parameter. Types in this file define the shape of the logger that is passed to an action. For information on the logger object, see: https://prismatic.io/docs/custom-components/writing-custom-components/#contextlogger

Index

Interfaces

Type aliases

Type aliases

ActionLoggerFunction

Ƭ ActionLoggerFunction: function

Defined in packages/spectral/src/types/ActionLogger.ts:11

A logger function, similar to console.log() or console.error().

Type declaration:

▸ (...args: unknown[]): void

Parameters:

NameType
...argsunknown[]