collin80 / GEVCU

Generalized Electric Vehicle Control Unit
114 stars 56 forks source link

Brusa Motor Controller working + Logging improvements #28

Closed neuweiler closed 11 years ago

neuweiler commented 11 years ago

Collin,

I tried to improve the logging somewhat. But for this I had to move DeviceTypes and DeviceId into a separate .h file. And also remove the class namespace in all affected files. I'm not sure that's really the way to go. If you'd like to put the two enum's into a namespace, feel free to do so. But I think adding the DeviceId to the logger methods is useful so the source of logging messages becomes more clear.