|
|
@@ -142,6 +142,32 @@ var LibJitsiMeet = {
|
|
142
|
142
|
setLogLevel: function (level) {
|
|
143
|
143
|
Logger.setLogLevel(level);
|
|
144
|
144
|
},
|
|
|
145
|
+ /**
|
|
|
146
|
+ * Sets the log level to the <tt>Logger</tt> instance with given id.
|
|
|
147
|
+ * @param {Logger.levels} level the logging level to be set
|
|
|
148
|
+ * @param {string} id the logger id to which new logging level will be set.
|
|
|
149
|
+ * Usually it's the name of the JavaScript source file including the path
|
|
|
150
|
+ * ex. "modules/xmpp/ChatRoom.js"
|
|
|
151
|
+ */
|
|
|
152
|
+ setLogLevelById: function (level, id) {
|
|
|
153
|
+ Logger.setLogLevelById(level, id);
|
|
|
154
|
+ },
|
|
|
155
|
+ /**
|
|
|
156
|
+ * Registers new global logger transport to the library logging framework.
|
|
|
157
|
+ * @param globalTransport
|
|
|
158
|
+ * @see Logger.addGlobalTransport
|
|
|
159
|
+ */
|
|
|
160
|
+ addGlobalLogTransport: function (globalTransport) {
|
|
|
161
|
+ Logger.addGlobalTransport(globalTransport);
|
|
|
162
|
+ },
|
|
|
163
|
+ /**
|
|
|
164
|
+ * Removes global logging transport from the library logging framework.
|
|
|
165
|
+ * @param globalTransport
|
|
|
166
|
+ * @see Logger.removeGlobalTransport
|
|
|
167
|
+ */
|
|
|
168
|
+ removeGlobalLogTransport: function (globalTransport) {
|
|
|
169
|
+ Logger.removeGlobalTransport(globalTransport);
|
|
|
170
|
+ },
|
|
145
|
171
|
/**
|
|
146
|
172
|
* Creates the media tracks and returns them trough the callback.
|
|
147
|
173
|
* @param options Object with properties / settings specifying the tracks which should be created.
|