An implementation of MicroLogger in Typescript that can be ran in Node.js or Deno (Coming Soon)
For anyone looking at this project on GitHub, it is an unmonitored mirror. The real project is hosted on GitLab
Contributions are always welcome!
See our contribution guide for ways to get started. Also, please make sure that you are adhering to this project's code of conduct.
log.ts, along with MicroLogger, is licensed under the BSD 3-Clause License. If you are not a legal expert, TL;DRLegal has a great explaination of the license.
We provide installations for both Node.js and Deno (Coming Soon)
All major package managers (NPM, Yarn 1 and 2, and PNPM) are supported by us
- Add project repository to
.npmrc
@gfour:registry=https://gitlab.com/api/v4/packages/npm/
- Install library
npm i @gfour/logts
- Add project repository to
.yarnrc
"@guided-explorations:registry" "https://gitlab.com/api/v4/packages/npm/"
- Install library
yarn add @gfour/logts
- Add project repository to
.yarnrc.yml
npmScopes:
gfour:
npmRegistryServer: "https://gitlab.com/api/v4/packages/npm/"
- Install library
yarn add @gfour/logts
- Add project repository to
.npmrc
@gfour:registry=https://gitlab.com/api/v4/packages/npm/
- Install library
pnpm i @gfour/logts
Coming soon! Check back later
Clone the project and enter the folder
git clone https://gitlab.com/gfour/logts.git
cd logts
Install dependencies
yarn install
Build the library
yarn run build
import { log, loggerLevel } from '@gfour/logts'
log(loggerLevel.OK, "This is a log entry with the severity level 'OK'")
log(loggerLevel.INFO, "This is a log entry with the severity level 'INFO'")
log(loggerLevel.EXTENSION, "This is a log entry with the severity level 'EXTENSION'")
log(loggerLevel.DEBUG, "This is a log entry with the severity level 'DEBUG'")
log(loggerLevel.WARN, "This is a log entry with the severity level 'WARN'")
log(loggerLevel.FAILED, "This is a log entry with the severity level 'FAILED'")
log(loggerLevel.FATAL, "This is a log entry with the severity level 'FATAL'")
You can find more detailed information on our documentation.
For support, email our service desk or submit an issue on our issue tracker. Both will funnel into the issue tracker.
For every version, we publish detailed changelogs. You can view them here.