mirror of
https://github.com/videojs/video.js.git
synced 2025-01-06 06:50:51 +02:00
844e4f0107
Add a log levels and history api: `videojs.log.level()` and `videojs.log.history()`. `.level()` will return the current level and you can also set it to be one of: `all`, `error`, `off`, or `warn`. `.history()` will return a list of all things logged since videojs loaded. It can be disabled via `videojs.log.history.disable()` (and re-enabled with `enable()`) as well as cleared with `videojs.log.history.clear()`. |
||
---|---|---|
.. | ||
dom.test.js | ||
fn.test.js | ||
format-time.test.js | ||
log.test.js | ||
merge-options.test.js | ||
obj.test.js | ||
time-ranges.test.js | ||
to-title-case.test.js | ||
url.test.js |