# Function childLogger

Returns a new logger with the given properties appended to all log objects created by it

- childLogger(parent, labelsVal?, context?, options?): Logger

- #### Parameters

  - parent: Logger

    Logger Parent logger to inherit from

  - labelsVal: any = []

    (any | any[]) Labels to always apply to logs from this logger

  - context: object = {}

    object Additional properties to always apply to logs from this logger

  - options: ChildLoggerOptions = {}

    ChildLoggerOptions

  #### Returns Logger

  - Defined in src/loggers.ts:97