All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.4.3 (2022-01-28)
- Fix security vulnerabilities in dependencies (e438f27)
0.4.2 (2021-05-09)
- serializer: Use
toISOString
for JSONDate
representation (0b03deb)
0.4.1 (2021-05-09)
- serializer: Add support for
Date
objects (d5b8344)
0.4.0 - 2020-09-15
- improved
README.md
- Updated
cross-fetch
to resolve vulnerability in its dependencynode-fetch
0.4.0-0 - 2020-09-02
- UMD-support
- compilation using rollup.js
- changed default exports to normal exports for better compatibility
- renamed
Options
toLoggerOptions
- moved types to exported
types
namespace: interface LoggerOptions
class Style
interface StyleInterface
type LogFunctionFactory
type LogFunction
- added
ComponentLogger
to the documentation
0.3.0 - 2020-09-01
0.3.0-7 - 2020-08-31
- logo
PlainLogger
- aLogFunctionFactory
for environments with no color support:
import { PlainLogger } from '@fliegwerk/logsemts';
const loggers = [
PlainLogger(), // a LogFunction to log into the browser dev tools
PlainLogger({ logFunction: myFunction }) // use myFunction instead of console.log
];
WebhookLogger
- aLogFunctionFactory
to send serialized form of message to a specific web address in a POST request
import { WebhookLogger } from '@fliegwerk/logsemts';
const loggers = [
// sends a serialized JSON form of the message to the specified address
WebHookLogger({ address: 'http://localhost:8080' })
];
- documentation of library concept to the
README.md
0.3.0-6 - 2020-08-27
0.3.0-5 - 2020-08-27
0.3.0-4 - 2020-08-27
0.3.0-3 - 2020-08-27
0.3.0-2 - 2020-08-27
0.3.0-1 - 2020-08-27
- npm publishing logic
0.3.0-0 - 2020-08-27
- made
BrowserLogger
aLogFunctionFactory
(() => LogFunction
) for consistency.
Upgrade instructions:
To upgrade, replace BrowserLogger
with BrowserLogger()
in your code.
ChalkLogger
- a chalk based logger for NodeJS environments:
import { ChalkLogger } from '@fliegwerk/logsemts';
import chalk from 'chalk';
const loggers = [
ChalkLogger(chalk) // generates a new LogFunction using the chalk object
];
Logger.getComponentLogger
- replacesLogger.getSubsystemLogger
serialize()
anddeserialize()
- serializer that supports cyclic structures (a['b']['a'] === a
) for sending objects in logs over network- better CI release automation
- moved
BrowserLogger.ts
tosrc/loggers
folder - updated
BrowserLogger
documentation - Terminology: subsystem => component
- documentation style
- enhanced documentation
Logger.getSubsystemLogger
- useLogger.getComponentLogger
instead
0.2.0 - 2020-08-26
- documentation
- README
- Coverage reporting to coveralls.io
- keywords to
package.json
0.1.4 - 2020-08-26
- CHANGELOG (using the fliegwerk CHANGELOG tool)
- removed unnecessary files from npm package
- updated dependencies
0.1.3 - 2020-06-14
- package issues
0.1.2 - 2020-06-14
- package issues
Initial prerelease.