colorino 0.12.5 → 0.12.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -98,15 +98,15 @@ CommonJS-style bundle:
98
98
  Just import the default instance and log away!
99
99
 
100
100
  ```typescript
101
- import { createColorino } from 'colorino'
101
+ import { colorino } from 'colorino'
102
102
 
103
103
  // All log levels automatically themed
104
- logger.error('A critical error!')
105
- logger.warn('A warning message.')
106
- logger.info('Useful info logging.')
107
- logger.log('A plain log.')
108
- logger.debug('Debug with objects:', { x: 5, y: 9 })
109
- logger.trace('Tracing app start...')
104
+ colorino.error('A critical error!')
105
+ colorino.warn('A warning message.')
106
+ colorino.info('Useful info logging.')
107
+ colorino.log('A plain log.')
108
+ colorino.debug('Debug with objects:', { x: 5, y: 9 })
109
+ colorino.trace('Tracing app start...')
110
110
  ```
111
111
 
112
112
  ### <a id="5-2"></a>Creating a Custom Logger
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "colorino",
3
- "version": "0.12.5",
3
+ "version": "0.12.7",
4
4
  "description": "A super simple colorized logger that gets the most out of your terminal",
5
5
  "type": "module",
6
6
  "license": "MIT",