From a32cf9ec37bd64a2207f29072cea419aaa130f09 Mon Sep 17 00:00:00 2001 From: Tynarus Date: Sun, 4 Apr 2021 11:38:31 -0500 Subject: [PATCH] Updating readme --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1a3ecf9..88b4e51 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,19 @@ # @runejs/core -Core logging and networking functionality for RuneJS applications. +Core logging, networking, and buffer functionality for RuneJS applications. ### Logger -* Full `console` logging wrappers: +* `RuneLogger` singleton Pino `logger` wrapper: * `logger.info(...messages)` * `logger.debug(...messages)` * `logger.warn(...messages)` * `logger.error(...messages)` * `logger.fatal(...messages)` * `logger.trace(...messages)` -* Ability to set logging date/time format via `setLoggerDateFormat(format)` +* Ability to set the Pino logging date/time formatting function via `setLoggerTimeFn(Pino.TimeFn)` +* Ability to set the Pino logging pretty print config value via `setLoggerPrettyPrint(boolean)` +* Setting of _all_ Pino logging options via `setLoggerOptions(Pino.LoggerOptions)` ### Byte Buffer * Node `Uint8Array` wrapper with additional utility functions.