Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,3 @@ let job_logger =
logger
|> Scribe.with_field (Scribe.Field.string "job_id" job_id)
```

## Library-Friendly Use

Libraries should accept an optional logger and default to `Scribe.noop`.

```ocaml
let parse ?(logger = Scribe.noop) path =
Scribe.debug logger "parse started"
[ Scribe.Field.string "file" path ];
(* parsing work *)
()
```

## MVP Scope

The first version focuses on value-based structured logging and a small sink collection with noop and JSON lines sinks. Other logging adapters are intentionally left out of the MVP.