code: func (p *Plugin) AfterInit() error {
  	if p.HTTP != nil {
  		p.HTTP.RegisterHTTPHandler(fmt.Sprintf("/log/{%s}/{%s:debug|info|warn|error|fatal|panic}",
  			loggerVarName, levelVarName), p.logLevelHandler, "PUT")
  		p.HTTP.RegisterHTTPHandler("/log/list", p.listLoggersHandler, "GET")
  	}
  	return nil
  }
docs: // AfterInit is called at plugin initialization. It register the following handlers:
  // - List all registered loggers:
  //   > curl -X GET http://localhost:<port>/log/list
  // - Set log level for a registered logger:
  //   > curl -X PUT http://localhost:<port>/log/<logger-name>/<log-level>