mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2025-11-13 18:03:53 +00:00
Remove so debug logs
This commit is contained in:
parent
e39012ddbd
commit
2818e7e9cd
@ -1275,7 +1275,7 @@ func (h *Handler) setRowNumbersOnRecords(records any, offset int) {
|
|||||||
if rowNumberField.Kind() == reflect.Int64 {
|
if rowNumberField.Kind() == reflect.Int64 {
|
||||||
rowNum := int64(offset + i + 1)
|
rowNum := int64(offset + i + 1)
|
||||||
rowNumberField.SetInt(rowNum)
|
rowNumberField.SetInt(rowNum)
|
||||||
logger.Debug("Set RowNumber=%d on record %d", rowNum, i)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -95,7 +95,7 @@ func (r *HookRegistry) RegisterMultiple(hookTypes []HookType, hook HookFunc) {
|
|||||||
func (r *HookRegistry) Execute(hookType HookType, ctx *HookContext) error {
|
func (r *HookRegistry) Execute(hookType HookType, ctx *HookContext) error {
|
||||||
hooks, exists := r.hooks[hookType]
|
hooks, exists := r.hooks[hookType]
|
||||||
if !exists || len(hooks) == 0 {
|
if !exists || len(hooks) == 0 {
|
||||||
logger.Debug("No hooks registered for %s", hookType)
|
//logger.Debug("No hooks registered for %s", hookType)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ func (r *HookRegistry) Execute(hookType HookType, ctx *HookContext) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Debug("All hooks for %s executed successfully", hookType)
|
//logger.Debug("All hooks for %s executed successfully", hookType)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user