# Interface ChildLoggerOptions<CustomLevels>

interface ChildLoggerOptions<CustomLevels> {
level?: LevelOrString;
serializers?: {
[key: string]: SerializerFn;
};
customLevels?: {
[level in string]: number
};
formatters?: {
level?: ((label: string, number: number) => object);
bindings?: ((bindings: Bindings) => object);
log?: ((object: object) => object);
};
redact?: string[] | redactOptions;
msgPrefix?: string;
}

#### Type Parameters

- CustomLevels extends string = never

#### Hierarchy (view full)

- ChildLoggerOptions<CustomLevels>
  - ChildLoggerOptions

- Defined in node_modules/pino/pino.d.ts:860

#####
Index

### Properties

level?
serializers?
customLevels?
formatters?
redact?
msgPrefix?

##
Properties

### `Optional` level

level?: LevelOrString

Inherited from ChildLoggerOptions.level

- Defined in node_modules/pino/pino.d.ts:668

### `Optional` serializers

serializers?: {
[key: string]: SerializerFn;
}

Inherited from ChildLoggerOptions.serializers

- Defined in node_modules/pino/pino.d.ts:669

### `Optional` customLevels

customLevels?: {
[level in string]: number
}

Inherited from ChildLoggerOptions.customLevels

- Defined in node_modules/pino/pino.d.ts:670

### `Optional` formatters

formatters?: {
level?: ((label: string, number: number) => object);
bindings?: ((bindings: Bindings) => object);
log?: ((object: object) => object);
}

Inherited from ChildLoggerOptions.formatters

- Defined in node_modules/pino/pino.d.ts:671

### `Optional` redact

redact?: string[] | redactOptions

Inherited from ChildLoggerOptions.redact

- Defined in node_modules/pino/pino.d.ts:676

### `Optional` msgPrefix

msgPrefix?: string

Inherited from ChildLoggerOptions.msgPrefix

- Defined in node_modules/pino/pino.d.ts:677