LogGPT: Log Anomaly Detection via GPT