module documentation

Context manager for capturing logs.