MCPcopy Create free account
hub / github.com/awsdocs/aws-doc-sdk-examples / hr

Method hr

javascriptv3/example_code/libs/logger.js:22–25  ·  view source on GitHub ↗

* @param {{ oneLineOnly: boolean }} options

({ oneLineOnly } = { oneLineOnly: false })

Source from the content-addressed store, hash-verified

20 * @param {{ oneLineOnly: boolean }} options
21 */
22 hr({ oneLineOnly } = { oneLineOnly: false }) {
23 const rule = "*".repeat(this.lineLength);
24 return oneLineOnly ? rule : ["\n", rule, "\n"].join("");
25 }
26
27 /**
28 * @param {string} message

Callers 2

boxMethod · 0.95
logSeparatorMethod · 0.95

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected