log: document the assign() macro