Logger supports device type as parameters

Logger methods may now be called with a DeviceType parameter
to indicate the source of logging and allow the later addition of
device specific log levels.