Entropy Calculation

#1
Hi, Can the entropy of the hazard function be calculated by
\int r(t)log[r(t)] dt ?
r(t) is my hazard function.

I'm new to information theory and want to know whether the uncertainty of the hazard function can be computed with the theory of entropy.

Thanks in advance!