5.3.22 • Published 4 months ago

log4js-tagline v5.3.22

Weekly downloads
18
License
ISC
Repository
github
Last release
4 months ago

npm Package License CodeQL Node.js CI

NPM

log4js-tagline is an extension of the node logging package log4js. Tags can be created and used independently or in combination with other tags; the output can be directed to both a local file, console, datadog, combinations of both on the fly or none. Each tag itteration is incremented.


Included object processing:

  • queueObj - Support for dynamic objects with all the tagline appenders
  • queueJson - depreciated. All appenders have been moved into queueObj. See the example tests.

Included tag appenders:

  • route - to display path or service name
  • line - displays file name and line number
  • action - displays action name
  • stopwatch - displays time elapsed for a particular tag.
  • counter - displays counts applied to a tag.
  • error - displays an error message from the try/catch block along with the class/function if available from the stack, or simply display an error message.
  • class_function - display the class and function name.
  • display - ability to turn tags on or off
  • counter - count how many itterations a tag has been inputted to. Helpfull in turning tags on/off.
  • datadog - for metrics including increment, incrementBy, gauge, histogram, and set.
  • email - Appenders and cron settings allows flexible email delivery options

Installation

npm install log4js-tagline

Mocha Test

npm test

General Setup Tests.

All tests starting with the letter test_q... are examples of queueObj. The letters beginning with test_qj... indicate queueObj Json samples.

npm run test_basic
npm run test_qAll    
npm run test_qTopOne
npm run test_qBottomOne
npm run test_qFuncAll
npm run test_qStatusMatching
npm run test_qNonStatusMatching
npm run test_qVersionMatching
npm run test_qVersionNonMatching
npm run test_qNameMatching
npm run test_qNameNonMatching
npm run test_qjAll
npm run test_qjTopOne
npm run test_qjBottomOne
npm run test_qjFuncAll
npm run test_qjStatusMatching
npm run test_qjStatusNonMatching
npm run test_qjNameMatching
npm run test_qjNameNonMatching
npm run test_qjVersionMatching
npm run test_qjVersionNonMatching
5.3.22

4 months ago

5.3.21

4 months ago

5.3.20

4 months ago

5.3.3

9 months ago

5.3.2

10 months ago

5.3.19

9 months ago

5.3.18

9 months ago

5.3.17

9 months ago

5.3.16

9 months ago

5.3.15

9 months ago

5.3.14

9 months ago

5.3.13

9 months ago

5.3.12

9 months ago

5.3.11

9 months ago

5.3.10

9 months ago

5.3.9

9 months ago

5.3.8

9 months ago

5.3.7

9 months ago

5.3.6

9 months ago

5.3.5

9 months ago

5.3.4

9 months ago

5.3.1

1 year ago

5.3.0

1 year ago

5.1.0

1 year ago

3.7.2

1 year ago

3.6.1

1 year ago

3.6.0

1 year ago

4.0.0

1 year ago

5.2.0

1 year ago

5.0.1

1 year ago

5.0.0

1 year ago

4.1.10

1 year ago

4.1.17

1 year ago

4.1.15

1 year ago

3.7.1

1 year ago

3.7.0

1 year ago

4.1.4

1 year ago

4.1.3

1 year ago

4.1.0

1 year ago

4.1.2

1 year ago

4.1.1

1 year ago

3.4.0

1 year ago

3.2.2

1 year ago

3.2.1

1 year ago

3.2.0

1 year ago

3.4.1

1 year ago

3.0.0

1 year ago

3.1.0

1 year ago

3.5.0

1 year ago

2.3.16

1 year ago

2.3.13

1 year ago

2.3.15

1 year ago

2.3.14

1 year ago

2.3.12

2 years ago

2.3.11

2 years ago

2.3.10

2 years ago

2.3.9

3 years ago

0.0.1

3 years ago

2.3.8

3 years ago

2.3.7

3 years ago

2.3.6

4 years ago

2.3.5

4 years ago

2.3.4

4 years ago

2.3.3

4 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.18

5 years ago

2.1.15

5 years ago

2.1.14

5 years ago

2.1.13

5 years ago

2.1.12

5 years ago

2.1.11

5 years ago

2.1.10

5 years ago

2.1.9

5 years ago

2.1.8

5 years ago

2.1.7

5 years ago

2.1.6

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.6.4

5 years ago

1.6.3

5 years ago

1.6.2

5 years ago

1.6.1

5 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.0

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.13

7 years ago

1.1.12

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago