owncloud/core — pull request #427 by tanghus (2012-11-14 18:58:21+00:00)
Title: Very simple wrapper for js console.

Suggestion for simple solution to stray console.log statements.

Simple usage:
```javascript
OC.console.log('Hello, world');
OC.console.assert(1== 2, 'This guy sucks at math');
```
If DEBUG hasn't been defines as true nothing will happen, otherwise the built-in function will be used.

https://github.com/owncloud/core/issues/343