Added ApiLogger class