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
Merge branch 'hotfix/21.56.9' into master
[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;