UNPKG

miniprogram-logger

Version:

It is used to log and gather statistics of users' behavior.

6 lines (5 loc) 156 B
// 所有Level export const AllLevels = ['debug', 'info', 'warn', 'error']; export function isLogLevel(level) { return AllLevels.indexOf(level) >= 0; }