Permalink
Commits on Aug 14, 2012
  1. version 0.5.2

    Gareth Jones committed Aug 14, 2012
Commits on Aug 13, 2012
  1. Fixed layout stack trace test

    Gareth Jones committed Aug 13, 2012
  2. Merge pull request #89 from ixti/master

    Fix possible memleak with `exit` event handlers
    Gareth Jones committed Aug 13, 2012
Commits on Aug 9, 2012
Commits on Aug 1, 2012
  1. Merge pull request #86 from osher/patch-3

    Update lib/layouts.js
    Gareth Jones committed Aug 1, 2012
  2. Add unit tests - layouts-test.js

    osher committed Aug 1, 2012
Commits on Jul 31, 2012
  1. Update lib/layouts.js

    Errors sometimes carry additional attributes on them as part of the passed error data.
    A utility that utilizes it, for example - is called 'errs', which is in use for instance 'nano' - the couch-db driver.
    
    when only the stack is printed - all the additional information that is augmented on the error object does not sink to the log and is lost.
    
    consider the following code:
    
    ```
    //the oups throwing utility
    function oups(){
      e = new Error();
      extend(
        { message    : "Oups error"
        , description: "huston, we got a problem"
        , status     : "MESS"
        , errorCode  : 991
        , arr :[1,2,3,4,{}]
        , data: 
          { c:{}
          , d:{e:{}}
          }
        }
      throw e;
    }
    
    var log = require('log4js')
    
    try{
      oups()
    } catch( e ) {
       log.error("error on oups", e );
    }
    
    ```
    
    
    output before the fix
    
    ```
    error on oups Error: Oups error
        at repl:1:11
        at REPLServer.eval (repl.js:80:21)
        at Interface.<anonymous> (repl.js:182:12)
        at Interface.emit (events.js:67:17)
        at Interface._onLine (readline.js:162:10)
        at Interface._line (readline.js:426:8)
        at Interface._ttyWrite (readline.js:603:14)
        at ReadStream.<anonymous> (readline.js:82:12)
        at ReadStream.emit (events.js:88:20)
    ```
    
    
    output after the fix would be
    
    ```
    error on oups { [Error: My error message]
      name: 'Error',
      description: 'huston, we got a problem',
      status: 'MESS',
      errorCode: 991,
      arr: [ 1, 2, 3, 4, {} ],
      data: { c: {}, d: { e: {} } } }
    Error: Oups error
        at repl:1:11
        at REPLServer.eval (repl.js:80:21)
        at Interface.<anonymous> (repl.js:182:12)
        at Interface.emit (events.js:67:17)
        at Interface._onLine (readline.js:162:10)
        at Interface._line (readline.js:426:8)
        at Interface._ttyWrite (readline.js:603:14)
        at ReadStream.<anonymous> (readline.js:82:12)
        at ReadStream.emit (events.js:88:20)
    ```
    osher committed Jul 31, 2012
Commits on Jul 3, 2012
  1. bumped npm version

    Gareth Jones committed Jul 3, 2012
  2. Fallback to \n if os.EOL is not defined

    Gareth Jones committed Jul 3, 2012
  3. use os.EOL instead of \n

    Gareth Jones committed Jul 3, 2012
  4. removed 0.7 added 0.8

    Gareth Jones committed Jul 3, 2012
Commits on Jun 29, 2012
  1. Merge pull request #78 from druciak/smtp

    SMTP appender migrated to nodemailer 0.3.x
    Gareth Jones committed Jun 29, 2012
Commits on Jun 28, 2012
  1. added explanation of console appender

    Gareth Jones committed Jun 28, 2012
  2. added fromreadme.js example, updated README

    Gareth Jones committed Jun 28, 2012
  3. made sure example works with categories

    Gareth Jones committed Jun 28, 2012
  4. example now works

    Gareth Jones committed Jun 28, 2012
Commits on Jun 27, 2012
Commits on Jun 3, 2012
  1. Added note about console.log replacement.

    Gareth Jones committed Jun 3, 2012
Commits on Jun 1, 2012
  1. Fixed the wiki links.

    Gareth Jones committed Jun 1, 2012
  2. bumped npm version

    Gareth Jones committed Jun 1, 2012
  3. moved some docs to the wiki

    Gareth Jones committed Jun 1, 2012
  4. Moved Logger into separate file, added support for loading appenders …

    …outside log4js, removed 'name' from appender requirements
    Gareth Jones committed Jun 1, 2012
Commits on May 30, 2012
  1. moved Logger class out of main module

    Gareth Jones committed May 30, 2012
  2. Removed some exports that are no longer needed

    Gareth Jones committed May 30, 2012
  3. Moved abspath option checking into file appender, log4js options now …

    …passed to appenders
    Gareth Jones committed May 30, 2012
Commits on May 29, 2012
  1. updated hook.io version, was breaking travis build

    Gareth Jones committed May 29, 2012
  2. changed minimum node version to 0.6

    Gareth Jones committed May 29, 2012