atma-logger is a browser and Node.js logging library with support for string coloring (ASCII/HTML), object formatting (handles circular references), and multiple transports including console, file system, HTTP (e.g., Loggly), and streams. It offers scoped loggers, configurable log levels and dates, and stdout/stderr interception in Node. Version 1.0.2 is the latest stable release; the library appears to be in maintenance mode with infrequent updates. Compared to alternatives like Winston or Pino, it provides built-in coloring and a simpler API but lacks modern features like structured JSON logging or async support.
npm install atma-loggerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: require, optional file transport config, log/warn/error calls, and scoped logger creation.
Use logger.level_ERROR (0), level_WARN (25), level_LOG (50), level_DEBUG (75), level_TRACE (100).
To force a scope to always log, set its level to a very low value like 0 in config levels.
Ensure the directory exists and is writable; check Node.js file permissions.
Avoid using the global export if you need compatibility with other loggers; use the standard require instead.
Run 'npm i atma-logger' and ensure require path matches as shown in docs.
Use CommonJS require: 'var logger = require('atma-logger');'var scopedLog = logger.create('scope'); then use scopedLog('message');Add '<script src='lib/browser.min.js'></script>' to HTML.
No dependency data recorded yet.