morgan log with customise

Solutions on MaxInterview for morgan log with customise by the best coders in the world

showing results for - "morgan log with customise"
Gabriela
16 Mar 2016
1//Create a new named format
2morgan.token("custom", ":http-version (:method) :url => :status")
3//use the new format by name
4app.use(morgan(‘custom’))Copy