added logger with debug and warn methods
using logger for brush rounding warning
Merge pull request #466