Add return type documentation to logging methods