console2 for Google Chrome

console2

扩展程序 : console2 for Google Chrome
版本 : 0.0.1
提供方 : 由ttshangxiang提供

添加至Google Chrome

概述

console2 for Google Chromechrome devtools extensions, console2, you can console some thing to a separate spaces.// use function 'console2' in your code

// simple
console2('hah');

// object
console2({
// list title
title: 'hah',
// detail
data: {
name: 'name1',
// json view
// data: 'string'
// data: ['array']
data: {
a: 1, b: '2', c: [3, '4', '555']
},
// json expend level
expandLevel: 2
}
})

// object array
console2({
// list title
title: 'hah',
// detail
datas: [{
// …
}]
})

// update
console2({
// need the same id
id: 'xxxx',
// need type = 'update'
type: 'update'
})

Leave a Reply

您的电子邮箱地址不会被公开。 必填项已用*标注