feat: add config to truncate long log content (#2767)

This commit is contained in:
Kevin Wan
2023-01-09 09:39:30 +08:00
committed by GitHub
parent 0defb7522f
commit 74e0676617
6 changed files with 56 additions and 6 deletions

View File

@@ -89,6 +89,7 @@ func NewClientWithTarget(target string, opts ...ClientOption) (Client, error) {
Breaker: true,
Timeout: true,
}
return internal.NewClient(target, middlewares, opts...)
}