Log the given content, if debug logging is enabled, otherwise return silently This interface is the same as AWS Powertools logging - see https://docs.powertools.aws.dev/lambda/typescript/latest/api/classes/_aws_lambda_powertools_logger.index.Logger.html#debug
Rest
...extraInput: EntityStoreLogItemExtraInputGenerated using TypeDoc
The table-backed store takes a logger for generating debug log messages, at StoreConfiguration.logger . Since the library doesn't want to make any assumptions about an application's logging design or dependencies it supplies this interface, and two basic implementations that have no library dependencies. In your usage you can either use one of these two basic implementations, or supply your own. For example a Powertools Logging interface might look as follows:
function createPowertoolsEntityStoreLogger(logger: Logger): EntityStoreLogger { return { getLevelName() { return logger.getLevelName() }, debug(input: LogItemMessage, ...extraInput) { logger.debug(input, ...extraInput) } } }