log

Module

Methods

KISSY.log()
void KISSY.log (msg[,cat=’log’,src])
输出调试信息
Parameters:
  • msg (string) – 调试信息
  • cat (string) – 调试信息类别. 可以取 info, warn, error, dir, time 等 console 对象的方法名, 默认为 log.
  • src (string) – 调试代码所在的源信息

Note

只有在 debug 模式下, 才会输出调试信息. debug 模式的说明请参考 Config