class for module log writer

class for module log writer