@ncfour-us/logging 0.0.18 → 0.0.20
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.
- package/README.md +52 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,44 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @ncfour-us/logging
|
|
2
2
|
|
|
3
3
|
This project implements a simple logger and a proxy for winston logger.
|
|
4
4
|
|
|
5
|
+
## Badges
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+

|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
<!--
|
|
15
|
+

|
|
16
|
+

|
|
17
|
+
-->
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+

|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
## Table of Contents
|
|
24
|
+
|
|
25
|
+
- [Installation](#installation)
|
|
26
|
+
- [Getting Started](#getting-started)
|
|
27
|
+
- [Contributing](#contributing)
|
|
28
|
+
- [License](#license)
|
|
29
|
+
- [Authors](#authors)
|
|
30
|
+
- [Acknowledgements](#acknowledgements)
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
Install using `npm`, `yarn`, or `pnpm` (preferred).
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pnpm add @ncfour-us/logging
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Getting Started
|
|
41
|
+
|
|
5
42
|
The package exports an `ILogger` interface along with a `createLogger()` function.
|
|
6
43
|
|
|
7
44
|
The return value from `createLogger()` is a `ILogger` which can then be used
|
|
@@ -16,3 +53,17 @@ import { ILogger, createLogger } from '@ncfour-us/logging';
|
|
|
16
53
|
|
|
17
54
|
const myLogger: ILogger = createLogger('simple');
|
|
18
55
|
```
|
|
56
|
+
|
|
57
|
+
## Contributing
|
|
58
|
+
|
|
59
|
+
Fork this repository and submit a PR.
|
|
60
|
+
|
|
61
|
+
## Authors
|
|
62
|
+
|
|
63
|
+
- Tim Hahn ([hahntj@gmail.com](mailto:hahntj@gmail.com), github: @climbertjh)
|
|
64
|
+
|
|
65
|
+
## License
|
|
66
|
+
|
|
67
|
+
The project is covered by the MIT license, see [LICENSE](./LICENSE).
|
|
68
|
+
|
|
69
|
+
## Acknowledgements
|