docs: fix code block titles (#5733)
* docs: fix code block titles * remove console * fix build error
This commit is contained in:
@@ -16,7 +16,7 @@ To log a message, resolve the `logger` registration name using dependency inject
|
||||
|
||||
For example, to log a message in a [loader](../loaders/overview.mdx):
|
||||
|
||||
```ts title=src/loaders/my-loader.ts
|
||||
```ts title="src/loaders/my-loader.ts"
|
||||
import {
|
||||
ProductService,
|
||||
ConfigModule,
|
||||
@@ -85,7 +85,7 @@ If you configured the `LOG_LEVEL` environment variable to a level higher than th
|
||||
|
||||
For example:
|
||||
|
||||
```ts title=src/loaders/my-loader.ts
|
||||
```ts title="src/loaders/my-loader.ts"
|
||||
import {
|
||||
ProductService,
|
||||
ConfigModule,
|
||||
|
||||
Reference in New Issue
Block a user