12345678910111213141516171819202122232425262728293031(**************************************************************************)(* *)(* Copyright 2018-2023 OCamlPro *)(* *)(* All rights reserved. This file is distributed under the terms of the *)(* GNU Lesser General Public License version 2.1, with the special *)(* exception on linking described in the file LICENSE. *)(* *)(**************************************************************************)(*
verbose binary flag
1: string received over http
2: string sent over http
4: library logs
*)letv=matchSys.getenv_opt"EZAPICLIENT"with|Some"true"->ref7|Somex->beginmatchint_of_string_optxwith|None->ref0|Somei->refiend|_->ref0letcallback=ref(fun(_:int)->())letset_verbosei=v:=i;!callbacki