mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
Update src/client/config.mli
Co-authored-by: Corentin Leruth <corentin.leruth@gmail.com>
This commit is contained in:
parent
0b2faca469
commit
48926c25e5
1 changed files with 2 additions and 2 deletions
|
|
@ -110,8 +110,8 @@ module type ENV = sig
|
|||
; common: t
|
||||
}
|
||||
|
||||
let make : (?new_field -> unit) make =
|
||||
Env.make (fun common ?new_field () -> {new_field; common})
|
||||
let make : (new_field:string -> unit) make =
|
||||
Env.make (fun common ~new_field () -> {new_field; common})
|
||||
|
||||
let _example : extended_config =
|
||||
make ~new_field:"foo" ~url_traces:"foo/bar" ~debug:true ()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue