Delgan
Delgan
Hi. This is surely possible, but I'm unable to install `google-cloud-logging` to test my hypothesis. You can for example use a custom function propagating logs to GCP as a Loguru...
Just use a Elastic function as a sink. ```python logger.add(write_log_to_elastic, format="[{time}] {message}") ``` I don't know Elastic API. See also: https://github.com/Delgan/loguru/issues/503
Yes, this is the expected behavior but there is no way to get this information from Loguru API. You'll have to keep a reference of which sinks you added by...
I'm personally constructing the `uri` string myself by calling `Uri.encodeComponent()` for each parameter. It encodes `" "` to `"%20"` while `Uri.encodeQueryComponent()` (which I guess is used internally by `Uri.toString()`) encodes...
Hi there. As per the type-hints in the source code of `tenacity`, the `logger` parameter is clearly expecting a standard `logging.Logger` object: https://github.com/jd/tenacity/blob/310058274ed22a345e9c3917c97b4afd6363d5a5/tenacity/before_sleep.py#L31-L36 Consequently, users should not expect `tenacity` to...
Thanks for the explanation and possible workaround. > Up to now Vimium C can not make hint letters stable during page changes. Ok, I understand. Therefore, this ticket is more...
Thank you for having considered my request. I can understand that this is out-of-scope for this library. I have not implemented any workaround yet. Some solutions are listed in this...
Small update, I just discovered CPython has an open PR for this exact feature since 6 years: https://github.com/python/cpython/pull/2735... It's not clear why it hasn't been merged yet, despite numerous discussions....
Sorry for pushing, and thanks for the time you took to consider the technical implications. > I mean, how would you access those global parameters? One possibility would be to...
Thanks for answering! Actually, I would have liked to be able to open a PR instead of this ticket, but after a few tries I didn't manage to get the...