SWIG generated module renamed from "_plugin" to "plugin".
Break class CLog into C functions。