Core logging, networking, and buffer functionality for RuneJS applications.
RuneLogger
singleton Pinologger
wrapper:logger.info(...messages)
logger.debug(...messages)
logger.warn(...messages)
logger.error(...messages)
logger.fatal(...messages)
logger.trace(...messages)
- 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)
- Node
Uint8Array
wrapper with additional utility functions. - Unified configurable
get
andput
methods to easily move bytes within the buffer. - Int24, Smart, Long and String type support.
- Big endian, little endian, and mixed endian support.
- Bit access through
openBitBuffer()
,putBits()
, andcloseBitBuffer()
Spins up a new Node Socket server with the specified host and port.
Handles connections made to a Socket server opened via openServer()
Options for a configured Socket server, imported using the parseServerConfig()
function.