Add missing dev-guard from log.h

Change-Id: I3621889d5f956ce60e29263de87c432bbaf4d5ed
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>