UNPKG

@playkit-js/playkit-js

Version:

[![Build Status](https://github.com/kaltura/playkit-js/actions/workflows/run_canary.yaml/badge.svg)](https://github.com/kaltura/playkit-js/actions/workflows/run_canary.yaml) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.

10 lines (9 loc) 350 B
// @flow declare type PKLogLevelObject = {value: number, name: string}; declare type PKLogLevels = {[level: string]: PKLogLevelObject}; declare type PKLogLevelTypes = {[level: string]: string}; declare type LogHandlerType = (messages: any[], context: Object) => void; declare type PKLogConfigObject = { level: string, handler: ?LogHandlerType };