Skip to content
Snippets Groups Projects
Commit f23b5f23 authored by admin-sigmundd's avatar admin-sigmundd
Browse files

More Fixing

parent 4cf536c3
No related branches found
No related tags found
1 merge request!1Update index.test.js, examples/all-options.js, examples/log-to-file.js,...
# log.js
A real simple logger application
A real simple logger application.
May Optional Log to A File and / or a Graylog-Server
## Installation
......@@ -14,17 +15,17 @@ Note: The options Part may be omitted, as all parts are optional, but using the
### Methods
`log.info('This is an Information')`
`log.warn('This is a Warning')`
`log.error('This is an Error')`
`log.debug('This is a Debug Message')`
* `log.info('This is an Information')`
* `log.warn('This is a Warning')`
* `log.error('This is an Error')`
* `log.debug('This is a Debug Message')`
### Options
```json
{
name: 'Name of App',
hostname: 'Server Hostname',
name: 'Name of App. Default: Name of BaseFolder',
hostname: 'Server Hostname, Default: os.hostname()',
file: 'File to Append Log to',
graylog: [
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment