yinzerflow 0.2.2 → 0.2.3

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/docs/logging.md +14 -0
  2. package/package.json +1 -1
package/docs/logging.md CHANGED
@@ -38,6 +38,20 @@ const server = new YinzerFlow({
38
38
  await server.listen();
39
39
  ```
40
40
 
41
+ Users can also use the built in logger as well by importing the log directly from yinzerflow
42
+ ```typescript
43
+ import { YinzerFlow, log } from 'yinzerflow';
44
+
45
+ const server = new YinzerFlow({
46
+ logLevel: 'info',
47
+ networkLogs: true
48
+ });
49
+
50
+ log.info('The server is starting')
51
+
52
+ await server.listen();
53
+ ```
54
+
41
55
  ### Custom Logger Example
42
56
  ```typescript
43
57
  import { YinzerFlow } from 'yinzerflow';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yinzerflow",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "author": "Patrick Rizzardi <patrick@redact.digital> (https://redact.digital)",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/yinzers/YinzerFlow.git",