'use strict' ; import { Router , RequestHandler , Request , Response , NextFunction } from 'express' ; import { Config } from '@Base/config' ; import { Logger } from '@Tools/Logging' ; const procAllDebug = async ( req , resp , next ) => { Logger . cdebug ( 'request-detail' , `procAllDebug: ${ req . method } ${ req . url }` ) ; Logger . cdebug ( 'request-body' , `procAllDebug: body: ` + JSON . stringify ( req . body ) ) ; next ( ) ; } ; export const name = "Debug" ; export const router = Router ( ) . use ( procAllDebug ) ;