src\main\resources\application.properties
或者src\main\resources\application.yml
Application.properties added to your profile or application.yml
logging.level.com.hotel3.mapper=debug
Which com.hotel3.mapper = debug is: Your Mapper package = logs
Console output is as follows: