documentation update. checking on validity of level and logger plugin. tests added