Provides logging functionality for the program.