MCPcopy Index your code
hub / github.com/awsdocs/aws-doc-sdk-examples / log

Function log

javascriptv3/example_code/glue/scenarios/basic/log.js:19–22  ·  view source on GitHub ↗
(message, options = {})

Source from the content-addressed store, hash-verified

17 * @param {{ type: 'info' | 'error' | 'warn' | 'success' | 'object' }} options
18 */
19const log = (message, options = {}) => {
20 const formatter = formatterMap[options.type || "info"];
21 console.log(formatter.format(message));
22};
23
24export { log };

Callers 15

index.jsFile · 0.90
validateEnvFunction · 0.90
makeCreateCrawlerStepFunction · 0.90
makeCleanUpDatabasesStepFunction · 0.90
logJobRunDetailsFunction · 0.90
makeGetTablesStepFunction · 0.90
waitForCrawlerFunction · 0.90
makeStartCrawlerStepFunction · 0.90
makeCleanUpTablesStepFunction · 0.90
makeGetDatabaseStepFunction · 0.90
deleteStackReminderFunction · 0.90

Calls 2

formatMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected