We consider the Dirichlet problem in the hyperbolic space for a nonlinear elliptic equation of the second order with singular measure-valued potential. The assumptions on the structure of the equation are stated in terms of a generalized N-function. It is shown that this problem has an entropy solution.