(doc) Documented method logging.
(refactor) Bitwise indexOf checking.
(refactor) Changed d to debug.