If you're approaching something more or less seriously, you will eventually come to some form of logging. Don't hesitate. Let's implement the log method. The log method should display the name of the class and method in which it is called, as well as the passed message. For clarity, use a colon and space to separate the class name, method name, and message.
Logging stack traces