Commit Graph

142 Commits

Author SHA1 Message Date
Gareth Jones
4b32456db7 fixed a bug where if the first log arg was not a string it wouldn't get logged 2011-07-22 12:28:02 +10:00
Gareth Jones
a9a698cf09 fixed log rolling problem 2011-07-21 20:42:14 +10:00
Gareth Jones
925c280c68 check for existence of destroySoon (does not exist in node v0.2.x) 2011-07-21 19:09:22 +10:00
Gareth Jones
d0b4563ba0 fixed small bug checking for stack on undefined object 2011-07-20 19:39:54 +10:00
Gareth Jones
0968c6709f fixed connect-logger 2011-07-19 09:08:15 +10:00
Gareth Jones
71fe001278 fixed tests to cover writestream 2011-07-17 20:49:39 +10:00
Gareth Jones
3d27140a9d changed fileappender to use writeStream instead of fs.write, tests don't work 2011-07-17 12:28:26 +10:00
Gareth Jones
d64d4ca0ca updated to remove TODO and credit danbell 2011-07-15 09:13:09 +10:00
Gareth Jones
b338b34fd6 added tests for pattern layout 2011-07-15 08:22:44 +10:00
Gareth Jones
3691648cd0 fixed patternlayout, needs tests though 2011-07-13 18:42:56 +10:00
Gareth Jones
d7ffa59434 moved level colours into layouts where they belong, updated README 2011-07-13 18:29:53 +10:00
Gareth Jones
5868856a7d all tests pass, now with proper console.log formatting 2011-07-13 18:12:29 +10:00
Gareth Jones
f89d54b66e removed main function, now using felixge's sandboxed-module, split code into multiple files 2011-07-12 13:03:17 +10:00
Gareth Jones
e121ca345a removed main function, now using felixge's sandboxed-module, split code into multiple files 2011-07-12 13:02:48 +10:00
Gareth Jones
8767cda15f removed the extensions to Date, put them in their own library 2011-07-08 08:15:13 +10:00
Alexander Sulfrian
d7a97366cb global log level is now set via the log4js object 2011-05-30 13:26:30 +02:00
Alexander Sulfrian
1fa9d029a2 added possibility to define global and local log levels 2011-05-19 15:25:13 +02:00
csausdev
9f4878d82c Disabling the console.log replacement 2011-04-17 17:46:13 +10:00
csausdev
a50c02a3e5 Added coloured layout to configuration (thanks @melin) 2011-04-17 17:20:49 +10:00
Daniel Bell
59f7e0af3c Added connect/express logger. 2011-04-07 10:19:18 +10:00
csausdev
71459ab6d3 changed array detection (thanks fkei) 2011-03-04 19:49:43 +11:00
csausdev
a876dfbe9c configure now takes a filename or object 2011-01-16 13:21:37 +11:00
csausdev
c6dd2398ab Persist logging config across invocations 2011-01-16 13:05:13 +11:00
csausdev
612d9eeb23 small tweak to exception handling 2010-12-11 21:59:50 +11:00
csausdev
c870289928 now handles exceptions that aren't Errors 2010-12-11 21:55:21 +11:00
csausdev
c2f9ccce73 enhanced console.log 2010-12-08 08:53:59 +11:00
csausdev
2b7be410ea added messagePassThroughLayout to vows tests 2010-12-06 18:31:08 +11:00
csausdev
966b8ced4f Added log rolling to config files 2010-12-06 18:23:43 +11:00
csausdev
75b9e82cac added a log rolling function to file appender 2010-12-06 09:14:20 +11:00
csausdev
4406f211c4 added test for log roller, not written yet 2010-12-05 17:17:37 +11:00
csausdev
8145e3b08f added masylum's coloured layout function 2010-12-05 14:36:35 +11:00
csausdev
6032c073b3 Added loading of config from require paths, and now defaults to console appender with basic layout 2010-12-05 11:04:28 +11:00
csausdev
c52af1b997 refactoring to allow dependency injection 2010-12-04 20:49:39 +11:00
Gareth Jones
5ffc00c9de appenders can be added to multiple categories at the same time 2010-10-07 15:15:23 +11:00
csausdev
6c8ce6614d renamed log4js-node.js to log4js.js 2010-08-10 21:56:54 +10:00
csausdev
8951600acd updated to work with npm 2010-08-10 21:56:10 +10:00
csausdev
0d100c0ab2 removed dependency on process.mixin 2010-03-21 13:18:44 +11:00
csausdev
87823f6e22 updated to work with node 0.1.33 2010-03-20 17:51:21 +11:00
csausdev
f130b95b08 changes for node 0.1.30, tests run but don't pass yet 2010-02-22 20:09:56 +11:00
csausdev
15e9a30d05 Added logLevelFilter 2010-01-19 22:26:54 +11:00
csausdev
5faad92df7 tidying up the readme 2010-01-17 12:26:55 +11:00
csausdev
a95c015633 First commit. 2010-01-17 12:08:28 +11:00