UNPKG

1.71 kBMarkdownView Raw
1# @nofrills/lincoln-console
2
3[![npm](https://img.shields.io/npm/v/@nofrills/lincoln-console.svg?style=flat-square)](https://www.npmjs.com/package/@nofrills/lincoln-console)
4
5# Install
6
7```bash
8npm install --save @nofrills/lincoln-console
9```
10
11# Quick Start
12
13### Javascript
14
15```javascript
16const logging = require('@nofrills/lincoln-console')
17const logger = logging.CreateLogger('myapp')
18logger.debug('Hello, cruel Javascript world!')
19```
20
21### Typescript
22
23```typescript
24import { CreateLogger } from '@nofrills/lincoln-console'
25const logger = CreateLogger'myapp')
26logger.debug('Hello, cruel Typescript world!')
27```
28
29# License
30Copyright 2018 NativeCode Development <opensource@nativecode.com>
31
32Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
33documentation files (the "Software"), to deal in the Software without restriction, including without
34limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
35Software, and to permit persons to whom the Software is furnished to do so, subject to the following
36conditions:
37
38The above copyright notice and this permission notice shall be included in all copies or substantial portions
39of the Software.
40
41THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
42TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
43THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
44CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
45DEALINGS IN THE SOFTWARE.