diff --git a/.bmp.yml b/.bmp.yml
index de62421..979348b 100644
--- a/.bmp.yml
+++ b/.bmp.yml
@@ -1,4 +1,4 @@
-version: 0.1.6
+version: 0.1.7
commit: 'chore: bump to v%.%.%'
files:
README.md: Cell v%.%.%
diff --git a/README.md b/README.md
index 0a8459c..322e10c 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# Cell v0.1.6
+# Cell v0.1.7
> Event-driven DOM programming in a new style
diff --git a/deno.json b/deno.json
index c2e5ec0..54d3f1f 100644
--- a/deno.json
+++ b/deno.json
@@ -1,6 +1,6 @@
{
"name": "@kt3k/cell",
- "version": "0.1.6",
+ "version": "0.1.7",
"exports": {
".": "./mod.ts"
},
diff --git a/mod.ts b/mod.ts
index cf4b815..9bf1671 100644
--- a/mod.ts
+++ b/mod.ts
@@ -1,4 +1,4 @@
-/*! Cell v0.1.6 | Copyright 2024 Yoshiya Hinosawa and Capsule contributors | MIT license */
+/*! Cell v0.1.7 | Copyright 2024 Yoshiya Hinosawa and Capsule contributors | MIT license */
import { documentReady, logEvent } from "./util.ts";
interface Initializer {
diff --git a/util.ts b/util.ts
index ebed71c..f0f923b 100644
--- a/util.ts
+++ b/util.ts
@@ -33,6 +33,7 @@ const boldColor = (color: string): string =>
const defaultEventColor = "#f012be";
declare const __DEV__: boolean;
+declare const DEBUG_IGNORE: undefined | Set;
export function logEvent({
component,
@@ -43,6 +44,8 @@ export function logEvent({
if (typeof __DEV__ === "boolean" && !__DEV__) return;
const event = e.type;
+ if (typeof DEBUG_IGNORE === "object" && DEBUG_IGNORE?.has(event)) return;
+
console.groupCollapsed(
`${module}> %c${event}%c on %c${component}`,
boldColor(color || defaultEventColor),