test-plugin: create log

Use own logging function instead of g_{debug|warning}. It looks better.
Also I plan to add colors.