beautify-console-log
Advanced tools
Comparing version 1.3.6 to 1.3.7
{ | ||
"name": "beautify-console-log", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "This is a further beautification and encapsulation of the 'console' object. You can use it like using \"console. log\", \"console. info\", \"console. warn\", \"console. error\", and it can display the code line information where the log is printed.", | ||
"keywords": [ | ||
"typescript", | ||
"js", | ||
"console", | ||
"console log", | ||
"log", | ||
"logger", | ||
"logging", | ||
"console", | ||
"console log", | ||
"console.log", | ||
@@ -33,7 +31,9 @@ "console-log", | ||
"node", | ||
"Display the number of log lines", | ||
"控制台日志美化", | ||
"console.log美化", | ||
"console美化", | ||
"console调试" | ||
"console调试", | ||
"typescript", | ||
"js", | ||
"Display the number of log lines" | ||
], | ||
@@ -40,0 +40,0 @@ "main": "lib/index.js", |
@@ -146,4 +146,4 @@ # beautify-console-log | ||
|style |Object || | ||
| |├──color (ColorType | 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'purple' | 'cyan' | 'white') |`ColorType.black`,`ColorType.red`,`ColorType.green`,`ColorType.yellow`,`ColorType.blue`,`ColorType.purple`,`ColorType.cyan`,`ColorType.white`| | ||
| |└──bgColor (ColorType | 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'purple' | 'cyan' | 'white') |`ColorType.black`,`ColorType.red`,`ColorType.green`,`ColorType.yellow`,`ColorType.blue`,`ColorType.purple`,`ColorType.cyan`,`ColorType.white`| | ||
| |├──color (ColorType 、 'black' 、 'red' 、 'green' 、 'yellow' 、 'blue' 、 'purple' 、 'cyan' 、 'white') |`ColorType.black`,`ColorType.red`,`ColorType.green`,`ColorType.yellow`,`ColorType.blue`,`ColorType.purple`,`ColorType.cyan`,`ColorType.white`| | ||
| |└──bgColor (ColorType 、 'black' 、 'red' 、 'green' 、 'yellow' 、 'blue' 、 'purple' 、 'cyan' 、 'white') |`ColorType.black`,`ColorType.red`,`ColorType.green`,`ColorType.yellow`,`ColorType.blue`,`ColorType.purple`,`ColorType.cyan`,`ColorType.white`| | ||
``` | ||
@@ -196,3 +196,3 @@ import BeautifyConsole from "beautify-console-log"; | ||
### BaseConfig | ||
```json | ||
```typescript | ||
{ | ||
@@ -204,3 +204,3 @@ type?: LogType[] | ('info' | 'log' | 'warn' | 'error')[] | ||
### BaseColorType | ||
```json | ||
```typescript | ||
{ | ||
@@ -212,3 +212,3 @@ color?: ColorType | 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'purple' | 'cyan' | 'white'; | ||
### PadStartStyle | ||
```json | ||
```typescript | ||
{ | ||
@@ -220,3 +220,3 @@ color?: ColorType | 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'purple' | 'cyan' | 'white'; | ||
### PadStartText | ||
```json | ||
```typescript | ||
{ | ||
@@ -229,3 +229,3 @@ title: string; | ||
### ColorType | ||
```json | ||
```typescript | ||
{ | ||
@@ -243,3 +243,3 @@ black = 90, | ||
### LogType | ||
```json | ||
```typescript | ||
{ | ||
@@ -246,0 +246,0 @@ info = "info", |
@@ -139,4 +139,4 @@ # beautify-console-log | ||
|style |Object || | ||
| |├──color? (ColorType | 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'purple' | 'cyan' | 'white') |`ColorType.black`,`ColorType.red`,`ColorType.green`,`ColorType.yellow`,`ColorType.blue`,`ColorType.purple`,`ColorType.cyan`,`ColorType.white`| | ||
| |└──bgColor? (ColorType | 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'purple' | 'cyan' | 'white') |`ColorType.black`,`ColorType.red`,`ColorType.green`,`ColorType.yellow`,`ColorType.blue`,`ColorType.purple`,`ColorType.cyan`,`ColorType.white`| | ||
| |├──color? (ColorType 、 'black' 、 'red' 、 'green' 、 'yellow' 、 'blue' 、 'purple' 、 'cyan' 、 'white') |`ColorType.black`,`ColorType.red`,`ColorType.green`,`ColorType.yellow`,`ColorType.blue`,`ColorType.purple`,`ColorType.cyan`,`ColorType.white`| | ||
| |└──bgColor? (ColorType 、 'black' 、 'red' 、 'green' 、 'yellow' 、 'blue' 、 'purple' 、 'cyan' 、 'white') |`ColorType.black`,`ColorType.red`,`ColorType.green`,`ColorType.yellow`,`ColorType.blue`,`ColorType.purple`,`ColorType.cyan`,`ColorType.white`| | ||
``` | ||
@@ -189,3 +189,3 @@ import BeautifyConsole from "beautify-console-log"; | ||
### BaseConfig | ||
```json | ||
```typescript | ||
{ | ||
@@ -197,3 +197,3 @@ type?: LogType[] | ('info' | 'log' | 'warn' | 'error')[] | ||
### BaseColorType | ||
```json | ||
```typescript | ||
{ | ||
@@ -205,3 +205,3 @@ color?: ColorType; | ||
### PadStartStyle | ||
```json | ||
```typescript | ||
{ | ||
@@ -213,3 +213,3 @@ color?: ColorType; | ||
### PadStartText | ||
```json | ||
```typescript | ||
{ | ||
@@ -222,3 +222,3 @@ title: string; | ||
### ColorType | ||
```json | ||
```typescript | ||
{ | ||
@@ -236,3 +236,3 @@ black = 90, | ||
### LogType | ||
```json | ||
```typescript | ||
{ | ||
@@ -239,0 +239,0 @@ info = "info", |
102500