-- Class for creating custom logger