package com.gameplatform.server;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.gameplatform.server.mapper")
@EnableScheduling
public class GamePlatformServerApplication {
    private static final Logger log = LoggerFactory.getLogger(GamePlatformServerApplication.class);
    
    public static void main(String[] args) {
        log.info("=== 游戏平台服务器启动中 ===");
        log.debug("Debug 日志级别已启用");
        SpringApplication.run(GamePlatformServerApplication.class, args);
        log.info("=== 游戏平台服务器启动完成 ===");
    }
}

