logging api added to doc