Generalized continued logarithms and related continued fractions