Discover Interview Question

how do you log things for backend services?