planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

56
node_modules/geotiff/dist-module/logging.js generated vendored Normal file
View File

@@ -0,0 +1,56 @@
/**
* A no-op logger
*/
class DummyLogger {
log() {}
debug() {}
info() {}
warn() {}
error() {}
time() {}
timeEnd() {}
}
let LOGGER = new DummyLogger();
/**
*
* @param {object} logger the new logger. e.g `console`
*/
export function setLogger(logger = new DummyLogger()) {
LOGGER = logger;
}
export function debug(...args) {
return LOGGER.debug(...args);
}
export function log(...args) {
return LOGGER.log(...args);
}
export function info(...args) {
return LOGGER.info(...args);
}
export function warn(...args) {
return LOGGER.warn(...args);
}
export function error(...args) {
return LOGGER.error(...args);
}
export function time(...args) {
return LOGGER.time(...args);
}
export function timeEnd(...args) {
return LOGGER.timeEnd(...args);
}