All files / lib/loggers Logger.js

0% Statements 0/12
100% Branches 0/0
0% Functions 0/7
0% Lines 0/12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68                                                                                                                                       
/**
 * Implemented by loggers
 *
 * @interface
 */
function Logger() {}
 
 
/**
 * For sending general logging information, usually messages that you do not want to see very often.
 * @param msg
 * @param varargs
 */
Logger.prototype.log = function(msg, ...varargs) {
    throw new Error('not implemented');
};
 
 
/**
 * Sends a warning message.
 * @param msg
 * @param varargs
 */
Logger.prototype.warn = function(msg, ...varargs){
    throw new Error('not implemented');
};
 
 
/**
 * Sends an error message.
 * @param msg
 * @param varargs
 */
Logger.prototype.error = function(msg, ...varargs){
    throw new Error('not implemented');
};
 
 
/**
 * Sends informative logging information.
 * @param msg
 * @param varargs
 */
Logger.prototype.info = function(msg, ...varargs){
    throw new Error('not implemented');
};
 
 
/**
 * Sends debugging information, one step up in importance from log().
 * @param msg
 * @param varargs
 */
Logger.prototype.debug = function(msg, ...varargs){
    throw new Error('not implemented');
};
 
 
/**
 * Sends a message and stack trace if first argument is false.
 * @param msg
 * @param varargs
 */
Logger.prototype.assert = function(msg, ...varargs){
    throw new Error('not implemented');
};