ตัวอย่างมีดังนี้: การคัดลอกรหัสมีดังนี้: var log = ใหม่ logger ('***. js') if (log.isdebugenabled ()) { log.debug ('xxxxx'); -