msg: make loglevel public