Connecting libraries to pyRevit

How should I correctly connect libraries, written in C#?

How to do logging and understand, where things are wrong?