repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Gitter migration: Point people to app.gitter.im (rollout pt. 1)
[gitter.git]
/
public
/
js
/
utils
/
log.js
blob
082292b5152ab9877b0d222089701bdfdd34aec7
1
'use strict';
2
3
var log = require('loglevel');
4
5
try {
6
window.gitterSetLogLevel = function(level) {
7
log.setLevel(level);
8
};
9
} catch (err) {
10
// noop, ignore `ReferenceError: window is not defined` when running in tests
11
}
12
13
module.exports = log;