We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 361c636 commit ec385ecCopy full SHA for ec385ec
src/logger.ts
@@ -33,6 +33,10 @@ interface LoggerWithLogMethod extends Logger {
33
export interface Logger extends BaseLogger {
34
/**
35
* Create a child logger.
36
+ * This child will apply the methodFactory of the parent. So any log extensions applied to the parent
37
+ * at the time of calling `getChild` will be applied to the child as well.
38
+ * It will NOT apply changes to the parents methodFactory after the child was created.
39
+ * Those changes will not be applied manually to the child.
40
*
41
* @param namespace - name to add to the current logger to generate the child. Some implementations of `Logger`
42
* use this as a prefix; others use a different mechanism.
0 commit comments