Added support for Streamdeck Pedal and updated UI to better fit the Packed UI style

This commit is contained in:
2026-02-27 22:47:08 +01:00
committed by erik
parent 5a70f775f1
commit 93faae5cc8
1463 changed files with 306917 additions and 0 deletions

61
node_modules/cmake-js/lib/cmLog.js generated vendored Normal file
View File

@@ -0,0 +1,61 @@
'use strict'
const log = require('./logger')
class CMLog {
get level() {
if (this.options.noLog) {
return 'silly'
} else {
return log.level
}
}
constructor(options) {
this.options = options || {}
this.debug = require('debug')(this.options.logName || 'cmake-js')
}
silly(cat, msg) {
if (this.options.noLog) {
this.debug(cat + ': ' + msg)
} else {
log.silly(cat, msg)
}
}
verbose(cat, msg) {
if (this.options.noLog) {
this.debug(cat + ': ' + msg)
} else {
log.verbose(cat, msg)
}
}
info(cat, msg) {
if (this.options.noLog) {
this.debug(cat + ': ' + msg)
} else {
log.info(cat, msg)
}
}
warn(cat, msg) {
if (this.options.noLog) {
this.debug(cat + ': ' + msg)
} else {
log.warn(cat, msg)
}
}
http(cat, msg) {
if (this.options.noLog) {
this.debug(cat + ': ' + msg)
} else {
log.http(cat, msg)
}
}
error(cat, msg) {
if (this.options.noLog) {
this.debug(cat + ': ' + msg)
} else {
log.error(cat, msg)
}
}
}
module.exports = CMLog