Update logger class.

Changed method name.
Add exception log method.
Update libswo.