Made a logging class to handle class prefixes and indentation