Type Alias OnChildCallback<CustomLevels>

OnChildCallback<CustomLevels>: ((child: Logger<CustomLevels>) => void)

A synchronous callback that will run on each creation of a new child.

Type Parameters

  • CustomLevels extends string = never