LLMParser: An Exploratory Study on Using Large Language Models for Log Parsing