adding new logging functionality - usage and trace