1.16.32 • Published 2 months ago

@abtnode/logger v1.16.32

Weekly downloads
290
License
Apache-2.0
Repository
github
Last release
2 months ago

logger

This is a log library for ABT Node.

Enable logging first

Set the environments: process.env.ABT_NODE_LOG_DIR = {logging directory}.

Write to files

Set the environments: process.env.NODE_ENV = 'production'.

Writing to console

DEBUG=@abtnode/* npm run xxx.

Or, the logs will be write to stdout.

Usage

const logger = require('@abtnode/logger')('@abtnode/cli');

// log info
logger.info('detail blocklet', { did: 'z8iZpWP3gto8RWk9UHfvAaYtqX5wZ3Mz9BrHA' });
// [2020-08-12 17:26:28] [info]  "detail blocklet" {"did":"z8iZpWP3gto8RWk9UHfvAaYtqX5wZ3Mz9BrHA"}

// log error: must pass an object
logger.info('this is an error', { error: new Error('test') });
1.16.32

3 months ago

1.16.31

4 months ago

1.16.29

5 months ago

1.16.28

6 months ago

1.16.27

7 months ago

1.16.30

4 months ago

1.16.26

8 months ago

1.16.25

9 months ago

1.16.24

10 months ago

1.16.23

11 months ago

1.16.22

11 months ago

1.16.21

12 months ago

1.16.20

1 year ago

1.16.19

1 year ago

1.16.18

1 year ago

1.16.17

1 year ago

1.16.14

1 year ago

1.16.13

1 year ago

1.16.16

1 year ago

1.16.15

1 year ago

1.16.10

2 years ago

1.16.12

2 years ago

1.16.11

2 years ago

1.16.7

2 years ago

1.16.6

2 years ago

1.16.5

2 years ago

1.16.4

2 years ago

1.16.9

2 years ago

1.16.3

2 years ago

1.16.2

2 years ago

1.16.1

2 years ago

1.16.0

2 years ago

1.8.64

2 years ago

1.8.65

2 years ago

1.8.66

2 years ago

1.8.67

2 years ago

1.8.68

2 years ago

1.8.60

2 years ago

1.8.61

2 years ago

1.8.62

2 years ago

1.8.63

2 years ago

1.8.50

2 years ago

1.8.51

2 years ago

1.8.52

2 years ago

1.8.53

2 years ago

1.8.54

2 years ago

1.8.55

2 years ago

1.8.56

2 years ago

1.8.57

2 years ago

1.8.58

2 years ago

1.8.59

2 years ago

1.8.40

2 years ago

1.8.41

2 years ago

1.8.42

2 years ago

1.8.43

2 years ago

1.8.44

2 years ago

1.8.45

2 years ago

1.8.46

2 years ago

1.8.47

2 years ago

1.8.48

2 years ago

1.8.49

2 years ago

1.8.28

2 years ago

1.8.29

2 years ago

1.8.30

2 years ago

1.8.31

2 years ago

1.8.32

2 years ago

1.8.33

2 years ago

1.8.34

2 years ago

1.8.35

2 years ago

1.8.36

2 years ago

1.8.37

2 years ago

1.8.38

2 years ago

1.8.39

2 years ago

1.8.25

2 years ago

1.8.26

2 years ago

1.8.27

2 years ago

1.8.20

2 years ago

1.8.21

2 years ago

1.8.22

2 years ago

1.8.23

2 years ago

1.8.24

2 years ago

1.8.10

2 years ago

1.8.11

2 years ago

1.8.12

2 years ago

1.8.13

2 years ago

1.8.14

2 years ago

1.8.15

2 years ago

1.8.16

2 years ago

1.8.17

2 years ago

1.8.18

2 years ago

1.8.19

2 years ago

1.8.9

2 years ago

1.8.8

2 years ago

1.7.18

3 years ago

1.7.19

3 years ago

1.7.20

3 years ago

1.7.21

3 years ago

1.7.22

3 years ago

1.7.23

3 years ago

1.7.24

3 years ago

1.7.25

3 years ago

1.7.26

3 years ago

1.7.27

3 years ago

1.8.2

2 years ago

1.8.1

2 years ago

1.8.0

3 years ago

1.8.7

2 years ago

1.8.6

2 years ago

1.8.5

2 years ago

1.8.4

2 years ago

1.8.3

2 years ago

1.7.10

3 years ago

1.7.11

3 years ago

1.7.12

3 years ago

1.7.13

3 years ago

1.7.14

3 years ago

1.7.15

3 years ago

1.7.16

3 years ago

1.7.17

3 years ago

1.7.9

3 years ago

1.7.8

3 years ago

1.7.7

3 years ago

1.7.6

3 years ago

1.7.5

3 years ago

1.7.4

3 years ago

1.6.24

3 years ago

1.6.26

3 years ago

1.6.25

3 years ago

1.6.28

3 years ago

1.6.27

3 years ago

1.6.29

3 years ago

1.6.31

3 years ago

1.6.30

3 years ago

1.7.3

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.23

3 years ago

1.6.4

3 years ago

1.6.3

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.6.20

3 years ago

1.6.22

3 years ago

1.6.21

3 years ago

1.6.9

3 years ago

1.6.8

3 years ago

1.6.7

3 years ago

1.6.6

3 years ago

1.6.5

3 years ago

1.6.11

3 years ago

1.6.10

3 years ago

1.6.13

3 years ago

1.6.12

3 years ago

1.6.15

3 years ago

1.6.14

3 years ago

1.6.17

3 years ago

1.6.16

3 years ago

1.6.19

3 years ago

1.6.18

3 years ago

1.5.21

3 years ago

1.5.20

3 years ago

1.15.17

3 years ago

1.5.12

3 years ago

1.5.11

3 years ago

1.5.14

3 years ago

1.5.13

3 years ago

1.5.16

3 years ago

1.5.15

3 years ago

1.5.18

3 years ago

1.5.17

3 years ago

1.5.19

3 years ago

1.5.9

3 years ago

1.5.8

3 years ago

1.5.10

3 years ago

1.5.7

3 years ago

1.5.5

3 years ago

1.5.4

3 years ago

1.5.6

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.14

3 years ago

1.4.13

3 years ago

1.4.12

3 years ago

1.4.11

3 years ago

1.4.10

3 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.18

3 years ago

1.3.19

3 years ago

1.3.17

3 years ago

1.3.16

3 years ago

1.3.15

3 years ago

1.3.14

4 years ago

1.3.13

4 years ago

1.3.12

4 years ago

1.3.11

4 years ago

1.3.10

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.13

4 years ago

1.2.14

4 years ago

1.2.12

4 years ago

1.2.10

4 years ago

1.2.11

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.18

4 years ago

1.1.17

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.40

4 years ago

1.0.41

4 years ago

1.0.39

4 years ago

1.0.38

4 years ago

1.0.37

4 years ago

1.0.36

4 years ago

1.0.35

4 years ago

1.0.33

4 years ago

1.0.34

4 years ago

1.0.32

4 years ago

1.0.31

4 years ago

1.0.30

4 years ago

1.0.29

4 years ago

1.0.28

4 years ago

1.0.27

4 years ago

1.0.26

4 years ago

1.0.25

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.22

4 years ago

1.0.17-alpha.23

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago

0.9.7

4 years ago

0.9.4

4 years ago