Fix Logger#log to not modify maps [fixes #1]