We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ewTools.js
2 parents 5c49fa6 + fa27850 commit 2edbc9eCopy full SHA for 2edbc9e
1 file changed
bin/ewTools.js
@@ -15,7 +15,7 @@ const getAllActionTypes = () => Object.values(ActionTypes).map((action, index, a
15
16
const getAllEntityTypes = () => Object.values(EntityTypes).map((entity, index, arr) => (index === arr.length - 1 ? ` and \`${entity}\`` : ` \`${entity}\`,`)).join("")
17
18
-function Logger(text, type = LoggerType.EMPTY) {
+const Logger = (text, type = LoggerType.EMPTY) => {
19
const typeFormatted = (type === LoggerType.EMPTY) ? `${type}` : `${type}:`
20
if (isDevelopment) console.log(`${typeFormatted}`, text)
21
}
0 commit comments