Implementation:SeleniumHQ Selenium Closure Log
| Knowledge Sources | |
|---|---|
| Domains | JavaScript_Atoms, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored Google Closure Library module providing basic strippable logging definitions used by Selenium JavaScript atoms.
Description
goog.log is a vendored copy of the Google Closure Library module. It provides a structured logging framework with Level-based severity (SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST), Logger instances, LogRecord objects, and a LogBuffer for buffered logging. Logging can be compiled out entirely via the goog.log.ENABLED define. Selenium uses this as part of its JavaScript atom infrastructure.
Usage
This module is consumed internally by Selenium's JavaScript atoms build system. Not imported directly by end users.
Code Reference
Source Location
- Repository: SeleniumHQ_Selenium
- File: third_party/closure/goog/log/log.js
- Lines: 1-1084
Key Exports
goog.provide('goog.log');
goog.provide('goog.log.Level');
goog.provide('goog.log.LogBuffer');
goog.provide('goog.log.LogRecord');
goog.provide('goog.log.Logger');
goog.log.ENABLED = goog.define('goog.log.ENABLED', goog.debug.LOGGING_ENABLED);
goog.log.Level = class Level { constructor(name, value) { ... } };