easy_logging
Module to log messages. Aimed at being both powerful and easy to use
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library easy_logging
type color =
| Default |
| Black |
| Red |
| Green |
| Yellow |
| Blue |
| Magenta |
| Cyan |
| Gray |
| White |
| LRed |
| LGreen |
| LYellow |
| LBlue |
| LMagenta |
| LCyan |
| LGray |
Terminal colors
val to_fg_code : color -> int
val to_bg_code : color -> int
val style_to_codes : format -> int * int
val format : format list -> string -> string
format styles str
formats str
to the given styles