Skip to content

Commit

Permalink
chore(release): 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Apr 11, 2020
1 parent 039dda0 commit d2a3b96
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/classes/_src_fakelogger_.fakelogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ the log messages as an array vs writing them to `stdout`.

### constructor

\+ **new FakeLogger**(`config`: DeepReadonly‹LoggerConfigContract›, `pino?`: Pino.Logger): *[FakeLogger](_src_fakelogger_.fakelogger.md)*
\+ **new FakeLogger**(`config`: LoggerConfig, `pino?`: Pino.Logger): *[FakeLogger](_src_fakelogger_.fakelogger.md)*

*Overrides [Logger](_src_logger_.logger.md).[constructor](_src_logger_.logger.md#constructor)*

**Parameters:**

Name | Type |
------ | ------ |
`config` | DeepReadonly‹LoggerConfigContract› |
`config` | LoggerConfig |
`pino?` | Pino.Logger |

**Returns:** *[FakeLogger](_src_fakelogger_.fakelogger.md)*
Expand All @@ -69,7 +69,7 @@ Name | Type |

### `Protected` $config

**$config**: *DeepReadonly‹LoggerConfigContract›*
**$config**: *LoggerConfig*

*Inherited from [Logger](_src_logger_.logger.md).[$config](_src_logger_.logger.md#protected-config)*

Expand Down
6 changes: 3 additions & 3 deletions docs/classes/_src_logger_.logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ object using `logger.pino`.

### constructor

\+ **new Logger**(`$config`: DeepReadonly‹LoggerConfigContract›, `pino?`: Pino.Logger): *[Logger](_src_logger_.logger.md)*
\+ **new Logger**(`$config`: LoggerConfig, `pino?`: Pino.Logger): *[Logger](_src_logger_.logger.md)*

**Parameters:**

Name | Type |
------ | ------ |
`$config` | DeepReadonly‹LoggerConfigContract› |
`$config` | LoggerConfig |
`pino?` | Pino.Logger |

**Returns:** *[Logger](_src_logger_.logger.md)*
Expand All @@ -66,7 +66,7 @@ Name | Type |

### `Protected` $config

**$config**: *DeepReadonly‹LoggerConfigContract›*
**$config**: *LoggerConfig*

___

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/_src_getpino_.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

### getPino

**getPino**(`options`: DeepReadonly‹LoggerConfigContract›): *Pino.Logger*
**getPino**(`options`: LoggerConfig): *Pino.Logger*

Returns an instance of pino logger by adjusting the config options

**Parameters:**

Name | Type |
------ | ------ |
`options` | DeepReadonly‹LoggerConfigContract› |
`options` | LoggerConfig |

**Returns:** *Pino.Logger*
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adonisjs/logger",
"version": "1.2.0",
"version": "2.0.0",
"description": "Logger built on top of pino to be used by AdonisJs",
"main": "build/providers/LoggerProvider.js",
"files": [
Expand Down

0 comments on commit d2a3b96

Please sign in to comment.