ruby logger: require block when message is missing

Because empty log is meaningless.