diff options
Diffstat (limited to 'runtime/js/06_util.js')
-rw-r--r-- | runtime/js/06_util.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/js/06_util.js b/runtime/js/06_util.js index 31eed51e3..64ec4ba9b 100644 --- a/runtime/js/06_util.js +++ b/runtime/js/06_util.js @@ -1,7 +1,9 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { core, primordials } from "ext:core/mod.js"; -const ops = core.ops; +const { + op_bootstrap_log_level, +} = core.ensureFastOps(); const { Promise, SafeArrayIterator, @@ -20,7 +22,7 @@ const logSource = "JS"; let logLevel_ = null; function logLevel() { if (logLevel_ === null) { - logLevel_ = ops.op_bootstrap_log_level() || 3; + logLevel_ = op_bootstrap_log_level() || 3; } return logLevel_; } |