Skip to content

Commit

Permalink
Merge pull request #4 from kit-ty-kate/500
Browse files Browse the repository at this point in the history
Add support for OCaml 5.00
  • Loading branch information
raphael-proust authored Aug 29, 2022
2 parents 2c55462 + 604644d commit f76c004
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lwt_log.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ maintainer: "Anton Bachin <antonbachin@yahoo.com>"
dev-repo: "git+https://github.com/ocsigen/lwt_log.git"

depends: [
"dune"
"dune" {>= "1.0"}
"lwt" {>= "4.0.0"}
"ocaml"
"ocaml" {>= "4.03"}
]

build: [
Expand Down
2 changes: 1 addition & 1 deletion src/core/lwt_log_core.ml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let string_of_level = function
| Fatal -> "fatal"

let level_of_string str =
let str = (String.lowercase [@ocaml.warning "-3"]) str in
let str = String.lowercase_ascii str in
match str with
| "debug" -> Some Debug
| "info" -> Some Info
Expand Down

0 comments on commit f76c004

Please sign in to comment.