mirror of
https://github.com/atom/atom.git
synced 2026-02-02 18:55:17 -05:00
Stringify Browser logging
This commit is contained in:
@@ -4,7 +4,8 @@ delegate = require 'atom_delegate'
|
||||
optimist = require 'optimist'
|
||||
nslog = require('nslog')
|
||||
|
||||
console.log = (args...) -> nslog(args.join(" "))
|
||||
console.log = (args...) ->
|
||||
nslog(args.map((arg) -> JSON.stringify(arg)).join(" "))
|
||||
|
||||
require 'coffee-script'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user