+- any additional arguments are included as an array, but not scrubbed
+
+## JSON Replacers
+
+Includes replacers for these objects:
+
+- Error
+- BigInt
+- http.IncomingMessage
+- http.OutgoingMessage
+- http.ServerResponse
+
+Custom replacers may be inserted into the logger instance's `jsonReplacers` array.
+
+## Data Sanitizers
+
+Custom sanitizers may be inserted into the logger instance's `dataSanitizers` array.
+
+## Example
+
+```javascript
+const http = require('node:http');
+const { AsyncLocalStorage } = require('node:async_hooks');
+const uuid = require('uuid');
+const Logger = require('@squeep/logger-json-console');
+
+const loggerOptions = {
+ ignoreBelowLevel: 'info',
+};
+const commonObject = {
+ nodeIdentifier: uuid.v1(),
+};
+const asyncLocalStorage = new AsyncLocalStorage();
+const logger = new Logger(loggerOptions, commonObject, asyncLocalStorage);
+
+const scope = 'exampleServer';
+http.createServer((req, res) => {
+ asyncLocalStorage.run({ requestId: uuid.v1() }, () => {
+ logger.debug(scope, 'start', { req, res });
+ setImmediate(() => {
+ res.end();
+ logger.info(scope, 'finish', { req, res }, 'other stuff');
+ });
+ });
+}).listen(8088);
+```
+
+Results in messages such as this:
+
+```json
+{
+ "nodeIdentifier": "64610280-fc17-11ed-a918-1dd19f027d43",
+ "timestamp": "2023-05-26T22:48:17.995Z",
+ "timestampMs": 1685141297995,
+ "level": "info",
+ "scope": "exampleServer",
+ "message": "finish",
+ "data": {
+ "req": {
+ "method": "GET",
+ "url": "/",
+ "httpVersion": "1.1",
+ "headers": {
+ "host": "localhost:8088",
+ "user-agent": "curl/7.83.1",
+ "accept": "*/*"
+ },
+ "trailers": {}
+ },
+ "res": {
+ "statusCode": 200,
+ "statusMessage": "OK",
+ "headers": {}
+ }
+ },
+ "other": [
+ "other stuff"
+ ],
+ "requestId": "68233aa0-fc17-11ed-a918-1dd19f027d43"
+}
+```