- Update to ReScript 11.
- Add
Edgelogger. - [BREAKING] Remove Linux
arm64binary.
- Add Linux
arm64binary.
- [BREAKING] Remove
filePathfromLocation.t. - Upgrade to
rescript@10.
- Add universal logger (
ReScriptLogger.Universal). Useful for apps with SSR.
- Add native
arm64support.
- Remove
bs-platformpeer dependency.
- Add support for M1 Macs through Rosetta #28.
- Package renamed to
rescript-loggerand converted toReScriptsyntax. - Default loggers namespaced and renamed:
BrowserLogger->ReScriptLogger.BrowserNodeLogger->ReScriptLogger.Node
- Environment variables renamed:
BS_LOG->RES_LOGBS_LOGGER->RES_LOGGER
- Added environment variable
RES_LOG_ONLY. It allows logging only from specific locations in code.
E.g.RES_LOG_ONLY=Module.Submodule.fn bsb ...
SeeVerbosity customization > Code location. - Each log entry produced by default loggers is prefixed with full location from where it's been called.
E.g.[Module.Submodule.fn] ... - Logger interface changed (pay attention if you have custom loggers in your codebase):
- Logger function
<level>WithDatarenamed to<level>1 - Logger function
<level>WithData<x>renamed to<level><x> - Each logger function receives
Location.trecord instead of a__MODULE__string. SeeCustom loggers.
- Logger function
- Add
Tracelevel. - Ensure PPX binary is available on all platforms.
- Make logging event polymorphic in
BrowserLoggerandNodeLogger.
- Logging in libraries.
- BuckleScript v7 support.
- Make
warndefault log level for situations whenBS_LOGenv var doesn't exist. - Fix postinstall script for Windows.
- Fix Windows build.
- Prefix all log entries with value of a
__MODULE__variable. - Update PPX setup.
- Default logger renamed from
ConsoletoBrowserLogger. - Added
NodeLogger.
- Make
[@log]annotation generic: it can be placed in front of anyswitchexpression with constructors. [@log]can accept optional namespace:[@log "MyNamespace"].
- Allow log statements inside annotated reducers.
- Use default logger when
BS_LOGGERis empty string.
- Add
BS_LOGGERenvironment variable. - Rename default logger from
LogtoConsole.
React logger.
Lots of changes, hope nobody used it yet.
Package renamed to bs-log.
Initial release.