diff options
Diffstat (limited to 'util.coffee')
-rw-r--r-- | util.coffee | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util.coffee b/util.coffee index 169cc35..bd6403d 100644 --- a/util.coffee +++ b/util.coffee @@ -2,7 +2,8 @@ system = require('system') # prints a log message if the LOG environment variable is set if system.env.LOG? - exports.log = log = system.stderr.writeLine + exports.log = log = (message) -> + system.stderr.writeLine "#{new Date().toString()} #{message}" else exports.log = log = -> |