diff options
| author | Tom Harley | 2018-04-13 16:12:04 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-04-13 16:12:04 +0100 |
| commit | 244fa29c38dcae5732a06cdb39de1a2a00557117 (patch) | |
| tree | 5f280348fae84d974eb4adc769431a88e0b6273f /src/logger.ts | |
| parent | Merge branch 'trh/gets' of gitlab.cs.st-andrews.ac.uk:cs3099group-be-4/projec... (diff) | |
| download | medicine-244fa29c38dcae5732a06cdb39de1a2a00557117.tar.gz medicine-244fa29c38dcae5732a06cdb39de1a2a00557117.zip | |
Fix minor places, and add Postman collection
Diffstat (limited to 'src/logger.ts')
| -rw-r--r-- | src/logger.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.ts b/src/logger.ts index bdcb390..aefb751 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -115,8 +115,8 @@ export let enabled: boolean = true; const consoleTransport: winston.TransportInstance = new winston.transports.Console({ name: 'consoleTransport', - level: 'info', - silent: false, + level: 'verbose', + silent: process.env.NODE_ENV === 'test', handleExceptions: true, humanReadableUncaughtException: true, formatter: ( |
