diff --git a/docs/content/en/Development-API/_index.md b/docs/content/en/Development-API/_index.md index f624d34f..93f8a1c0 100644 --- a/docs/content/en/Development-API/_index.md +++ b/docs/content/en/Development-API/_index.md @@ -734,6 +734,16 @@ Define each log level color. (error . ansi-red))) ``` +## 🔍 Function: eask-reach-verbosity-p (`symbol`) + +Make execution when it reaches the verbosity level. + +```elisp +(when (eask-reach-verbosity-p 'debug) + ;; TODO: execution here.. + ) +``` + ## 🔍 Macro: eask-with-verbosity (`symbol` &rest `body`) Define verbosity scope. diff --git a/docs/content/zh-TW/Development-API/_index.md b/docs/content/zh-TW/Development-API/_index.md index 098207bf..634f1c1a 100644 --- a/docs/content/zh-TW/Development-API/_index.md +++ b/docs/content/zh-TW/Development-API/_index.md @@ -726,6 +726,16 @@ $ cat /.log/messages.log (error . ansi-red))) ``` +## 🔍 函式: eask-reach-verbosity-p (`symbol`) + +達到詳細等級時執行。 + +```elisp +(when (eask-reach-verbosity-p 'debug) + ;; TODO: 在這裡執行.. + ) +``` + ## 🔍 巨集: eask-with-verbosity (`symbol` &rest `body`) 定義消息範圍。