Operation logs
Create opration logs for restful api!
On this page
Config
- default config name is
operation.yaml
. - you can use
except
andinclude
to set which route you want to create or not create opreation log. - operation.yaml
except:
method: post;put
uri: api/v1/upload;api/v1/upload
include:
method: get
uri: api/v1/menus
Add middleware by Use()
index.Use(operation.OperationRecord())