Existence and nonexistence of global solutions for logarithmic hyperbolic equation