]>
Commit | Line | Data |
---|---|---|
8d2dfbab RBR |
1 | # Changelog |
2 | All notable changes to this project will be documented in this file. | |
3 | ||
4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | |
5 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | |
6 | ||
7 | ## [2.0.0] - 2020-09-20 | |
8 | ### Changed | |
9 | - CHANGELOG format is now using `Keep a Changelog` format. | |
10 | - CI updated to use `gitlab` instead of `circle` | |
11 | - Updates dev dependencies | |
12 | - Replaces `microtime` in favor of `process.hrtime.bigint()`. This means that | |
13 | the timestamp is now in *nanoseconds* and has no decimal component. | |
14 | - If you log an object, it will first attempt to read a `message` property. | |
15 | All other properties will be extended with the log object. | |
16 | - Renamed `log_utilities` to utilities | |
17 | - Changes export so it uses a single object instead of having everything under | |
18 | Cologne | |
19 | - Update README to reflect current usage. | |
20 | ||
21 | ### Removed | |
22 | - Removes the meta parameter from buildLog. | |
23 | ||
24 | ## [1.1.0] - 2016-01-22 | |
25 | ### Added | |
26 | - a new parameter called meta that expects an object, it will be used to extend | |
27 | the log | |
28 | - gettLevelAnsi method, it returns an ANSI keyword depending on the log level | |
29 | sent. | |
30 | - Simple formatter uses `getLevelAnsi`, this means that info and debug get | |
31 | colors: info is blue, debug is green. | |
32 | - Token formatter now supports the `{{_ansi: _level}}` token that uses | |
33 | `getLevelAnsi` to generatte color depending on the level. | |
34 | ||
35 | ### Changed | |
36 | - README.md now has references to all the new features | |
37 | ||
38 | ## 1.0.0 - 2016-01-21 | |
39 | ### Added | |
40 | - Initial log functionality |