How to Create Logs to Debug API Issues Name of the class and method being accessed. Custom messages used in the code to specify the reason why the message was logged. All argument values sent to the method that logged the message.