From f666df1ce4efa042e341a5e36fd47a4a04e19ecf Mon Sep 17 00:00:00 2001 From: tUrG0n Date: Wed, 1 Aug 2012 12:58:47 +0300 Subject: [PATCH] Adding reference to 'Working with transports' section --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2fc4798d5..6f739840f 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ There are two different ways to use winston: directly via the default logger, or * [Working with multiple Loggers in winston](#working-with-multiple-loggers-in-winston) * [Using winston in a CLI tool](#using-winston-in-a-cli-tool) * [Extending another object with Logging](#extending-another-object-with-logging) + * [Working with transports](#working-with-transports) * [Adding Custom Transports](#adding-custom-transports) ## Logging @@ -50,7 +51,7 @@ By default, only the Console transport is set on the default logger. You can add winston.remove(winston.transports.Console); ``` -For more documenation about working with each individual transport supported by Winston see the "Working with Transports" section below. +For more documenation about working with each individual transport supported by Winston see the [Working with transports](#working-with-transports) section below. ### Instantiating your own Logger If you would prefer to manage the object lifetime of loggers you are free to instantiate them yourself: @@ -507,7 +508,7 @@ Configuring output for this style is easy, just use the `.cli()` method on `wins ``` ### Extending another object with Logging -Often in a given code base with lots of Loggers it is useful to add logging methods a different object so that these methods can be called with less syntax. Winston exposes this functionality via the 'extend' method: +Often in a given code base with lots of Loggers it is useful to add logging methods to a different object so that these methods can be called with less syntax. Winston exposes this functionality via the 'extend' method: ``` js var myObject = {};