Skip to content

Commit

Permalink
Merge branch 'master' into prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitrii Kartashev committed Aug 30, 2022
2 parents 2ddbb98 + 3f1dcc1 commit f17b444
Showing 1 changed file with 40 additions and 31 deletions.
71 changes: 40 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,39 +86,48 @@ transports may produce a high memory usage issue.

## Table of contents

- [Motivation](#motivation)
- [Quick Start](#quick-start)
- [Usage](#usage)
- [Table of Contents](#table-of-contents)
- [Logging](#logging)
- [Creating your logger](#creating-your-own-logger)
- [Streams, `objectMode`, and `info` objects](#streams-objectmode-and-info-objects)
- [Formats]
- [Combining formats](#combining-formats)
- [String interpolation](#string-interpolation)
- [Filtering `info` Objects](#filtering-info-objects)
- [Creating custom formats](#creating-custom-formats)
- [Logging levels]
- [Using logging levels](#using-logging-levels)
- [Using custom logging levels](#using-custom-logging-levels)
- [Transports]
- [winston](#winston)
- [winston@3](#winston3)
- [Looking for `winston@2.x` documentation?](#looking-for-winston2x-documentation)
- [Motivation](#motivation)
- [Quick Start](#quick-start)
- [Usage](#usage)
- [Table of contents](#table-of-contents)
- [Logging](#logging)
- [Creating your own Logger](#creating-your-own-logger)
- [Creating child loggers](#creating-child-loggers)
- [Streams, `objectMode`, and `info` objects](#streams-objectmode-and-info-objects)
- [Formats](#formats)
- [Combining formats](#combining-formats)
- [String interpolation](#string-interpolation)
- [Filtering `info` Objects](#filtering-info-objects)
- [Creating custom formats](#creating-custom-formats)
- [Logging Levels](#logging-levels)
- [Using Logging Levels](#using-logging-levels)
- [Using Custom Logging Levels](#using-custom-logging-levels)
- [Colorizing Standard logging levels](#colorizing-standard-logging-levels)
- [Transports](#transports)
- [Multiple transports of the same type](#multiple-transports-of-the-same-type)
- [Adding Custom Transports](#adding-custom-transports)
- [Common Transport options](#common-transport-options)
- [Exceptions](#exceptions)
- [Handling Uncaught Exceptions with winston](#handling-uncaught-exceptions-with-winston)
- [To Exit or Not to Exit](#to-exit-or-not-to-exit)
- [Rejections](#rejections)
- [Handling Uncaught Promise Rejections with winston](#handling-uncaught-promise-rejections-with-winston)
- [Profiling](#profiling)
- [Streaming Logs](#streaming-logs)
- [Querying Logs](#querying-logs)
- [Further Reading](#further-reading)
- [Using the default logger](#using-the-default-logger)
- [Awaiting logs to be written in `winston`](#awaiting-logs-to-be-written-in-winston)
- [Working with multiple Loggers in `winston`](#working-with-multiple-loggers-in-winston)
- [Installation](#installation)
- [Run Tests](#run-tests)
- [Exceptions](#exceptions)
- [Handling Uncaught Exceptions with winston](#handling-uncaught-exceptions-with-winston)
- [To Exit or Not to Exit](#to-exit-or-not-to-exit)
- [Example 1](#example-1)
- [Example 2](#example-2)
- [Rejections](#rejections)
- [Handling Uncaught Promise Rejections with winston](#handling-uncaught-promise-rejections-with-winston)
- [Profiling](#profiling)
- [Querying Logs](#querying-logs)
- [Streaming Logs](#streaming-logs)
- [Further Reading](#further-reading)
- [Using the Default Logger](#using-the-default-logger)
- [Awaiting logs to be written in `winston`](#awaiting-logs-to-be-written-in-winston)
- [Working with multiple Loggers in winston](#working-with-multiple-loggers-in-winston)
- [Installation](#installation)
- [Run Tests](#run-tests)
- [Author: [Charlie Robbins]](#author-charlie-robbins)
- [Contributors: [Jarrett Cruger], [David Hyde], [Chris Alderson]](#contributors-jarrett-cruger-david-hyde-chris-alderson)

## Logging

Expand Down Expand Up @@ -447,7 +456,7 @@ They are expected to return one of two things:
caller. (See: [Filtering `info` Objects](#filtering-info-objects)) below.

`winston.format` is designed to be as simple as possible. To define a new
format simple pass it a `transform(info, opts)` function to get a new
format, simply pass it a `transform(info, opts)` function to get a new
`Format`.

The named `Format` returned can be used to create as many copies of the given
Expand Down

0 comments on commit f17b444

Please sign in to comment.