My favoritefavourite introductory book on mathematical logic is Robert S.Wolfe's A TOUR THROUGH MATHEMATICAL LOGIC Wolfe's A Tour Through Mathematical Logic.Amazingly Amazingly well written,it it covers an extraordinary amount of material in both logic and set theory,complete complete with biographical vignettes and historical insights.There There a deep discussion of first order logic, and it's place in metamathematical systems.It It also has a wonderful introductory chapter on the theory of computation and it'sits origins.This This is the book I would recommend to any of my students if they asked me about logic.
After that,there there are several more advanced texts that I like,particularly particularly the ones by Shoenfield and the classic by my old teacher,Elliot Elliot Mendelson.
You can't go wrong with any of those.