methodology: the branch of philosophy that analyzes the principles and procedures of inquiry in a particular discipline
epistemology: the philosophical theory of knowledge
logic: the principles that guide reasoning within a given field or situation