From 8576116f325737912d36600bac52071f42f8b857 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 29 Aug 2011 20:50:43 +0200 Subject: [PATCH] Fix formatting for titles --- doc/usage.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/usage.md b/doc/usage.md index f8509d50..e42bbc9a 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -50,8 +50,7 @@ Adding extra data in the records Monolog provides two different ways to add extra informations along the simple textual message. -Using the logging context -~~~~~~~~~~~~~~~~~~~~~~~~~ +### Using the logging context The first way is the context, allowing to pass an array of data along the record: @@ -66,8 +65,7 @@ Simple handlers (like the StreamHandler for instance) will simply format the array to a string but richer handlers can take advantage of the context (FirePHP is able to display arrays in pretty way for instance). -Using processors -~~~~~~~~~~~~~~~~ +### Using processors The second way is to add extra data for all records by using a processor. Processors can be any callable. They will get the record as parameter and