[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]config/2023-06-15 18:18 -  
[   ]test.js1985-10-26 08:15 2.5K 
[   ]package.json2023-06-15 18:21 1.7K 
[   ]index.js1985-10-26 08:15 1.0K 
[TXT]README.md1985-10-26 08:15 689 d7c1522 post receive test [كارل مبارك]
[   ]LICENSE1985-10-26 08:15 1.0K 
[TXT]CHANGELOG.md1985-10-26 08:15 374  
# triple-beam

Definitions of levels for logging purposes & shareable Symbol constants.

## Usage

``` js
const { LEVEL } = require('triple-beam');
const colors = require('colors/safe');

const info = {
  [LEVEL]: 'error',
  level: 'error',
  message: 'hey a logging message!'
};

// Colorize your log level!
info.level = colors.green(info.level);

// And still have an unmutated copy of your level!
console.log(info.level === 'error');  // false
console.log(info[LEVEL] === 'error'); // true
```

## Tests

Tests are written with `mocha`, `assume`, and `nyc`. They can be run with `npm`:

```
npm test
```

##### LICENSE: MIT
##### AUTHOR: [Charlie Robbins](https://github.com/indexzero)