logging: logger::write takes now number of characters as arguments.

Is known at message creation anyway, and depending on the logger's sink (e.g. WriteConsole, the number of characters is needed anyway)