わたしは「こういうことが成立するだろうな」
と思って検索してみたら、案の定書いてあった次第。
どこに書いてあるかというと
https://arxiv.org/abs/math/0508042
の(10)式がそう。
Series (10) was proposed by L. Carlitz [3]. It also follows from an integral
formula for Euler's constant due to Ramanujan, as B. C. Berndt and D. C. Bowman
showed [2].