The Jellyfish backend strongly discourages the use of console.log()
. This
module provides a set of functions that the backend uses for logging purposes.
Below is an example how to use this library:
const logger = require('@balena/jellyfish-logger')
logger.warn(context, 'Inserting card', {
slug: card.slug,
type: card.type
})
Visit the website for complete documentation: https://product-os.github.io/jellyfish-logger
Generated using TypeDoc