Skip to content

Commit

Permalink
chore: Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Mar 11, 2019
1 parent 43021ef commit 2019e54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ You see the example [projet HTTPs](https://github.com/Romakita/example-ts-expres
## Logger
### Default logger

Default logger use by Ts.ED is [ts-log-debug](https://romakita.github.io/ts-log-debug/).
Default logger use by Ts.ED is [ts-log-debug](https://TypedProject.github.io/ts-log-debug/).

- [Configuration](https://romakita.github.io/ts-log-debug#/getting-started?id=installation),
- [Customize appender (chanel)](https://romakita.github.io/ts-log-debug#/appenders/custom),
- [Customize layout](https://romakita.github.io/ts-log-debug#/layouts/custom)
- [Configuration](https://TypedProject.github.io/ts-log-debug#/getting-started?id=installation),
- [Customize appender (chanel)](https://TypedProject.github.io/ts-log-debug#/appenders/custom),
- [Customize layout](https://TypedProject.github.io/ts-log-debug#/layouts/custom)

### Configuration

Expand All @@ -176,7 +176,7 @@ Some options is provided:
- `logger.reqIdBuilder`: A function called for each incoming request to create a request id.
- `logger.jsonIndentation`: The number of space characters to use as white space in JSON output. Default is 2 (0 in production).
- `logger.disableRoutesSummary`: Disable routes table displayed in the logger. By default debug is `false`.
- `logger.format`: Specify log format. Example: `%[%d{[yyyy-MM-dd hh:mm:ss,SSS}] %p%] %m`. See [ts-log-debug configuration](https://romakita.github.io/ts-log-debug/).
- `logger.format`: Specify log format. Example: `%[%d{[yyyy-MM-dd hh:mm:ss,SSS}] %p%] %m`. See [ts-log-debug configuration](https://TypedProject.github.io/ts-log-debug/).
- `logger.ignoreUrlPatterns` (`String` or `RegExp`): List of pattern to ignore logged request according to the `request.url`.

> It's recommended to disable logRequest in production. Logger have a cost on the performance.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ See release note on Github: https://github.com/Romakita/ts-express-decorators/re
- Interface IPromise is removed. Use Promise instead of.
- Interface ICrud is removed.
- ServerLoader.AcceptMime() is removed. Use GlobalAcceptMimesMiddleware instead of (see documentation https://tsed.io#/docs/middlewares/global-middleware).
- Update [ts-log-debug](https://romakita.github.io/ts-log-debug) to the new major version.
- Update [ts-log-debug](https://TypedProject.github.io/ts-log-debug) to the new major version.

## From v1.3 or under to v1.4

Expand Down

0 comments on commit 2019e54

Please sign in to comment.