CogLM: Tracking Cognitive Development of Large Language Models