1.1.10 • Published 4 years ago

@hellofiremind/logger v1.1.10

Weekly downloads
140
License
ISC
Repository
github
Last release
4 years ago

Logger

A modules based on the current logging tools that we use throughout our project. This module simply provides a succinct all-round module that we can install into future projects. There are 4 types of logging levels that are available:

Log:

  • General logging of events that occur within the application
  • Example:
    • LOG { run_time: 486.53301095962524, date: 1567625175601 } text...

Error:

  • Logging events for error handling that occur within the application
  • Example:
    • ERROR { run_time: 486.53301095962524, date: 1567625175601 } text...

### Info:

  • Logging events that indicate a result occurring within the application
  • Example:
    • INFO { run_time: 486.53301095962524, date: 1567625175601 } text...

Warn:

  • Logging events that indicate a potential for an error that you manually set within your application
  • Example:
    • WARN { run_time: 486.53301095962524, date: 1567625175601 } text...

Debug:

  • Logging events that indicate a potential for an error that you manually set within your application
  • Example:
    • DEBUG { run_time: 486.53301095962524, date: 1567625175601 } text...

Reminder:

  • At production, there will be functionality that prevents any level of logging below debugging from being presented in the console/terminal in order to the prevent the pollution of messages.
1.1.10

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.2

5 years ago