port the logger backend from internal repo
port the logger backend from internal repo