generateTimestamp(format){
        switch(format){
            case LoggerMessage.timestamp.utc:
                return new Date().toUTCString();
            case LoggerMessage.timestamp.localedate:
                return new Date().toLocaleDateString();
            case LoggerMessage.timestamp.localetime:
                return new Date().toLocaleTimeString();
            case LoggerMessage.timestamp.numeric:
                generateNumericTimestamp();
            case LoggerMessage.timestamp.locale:
                return new Date().toLocaleString();
            case LoggerMessage.timestamp.none:
            default:
                return undefined;
        }
    }
/**
     * Set the timestamp format
     * @param {Number} format 
     */
Set the timestamp format
@param {Number} format
Set the timestamp format @param { Number } format
generateTimestamp(format){
        switch(format){
            case LoggerMessage.timestamp.utc:
                return new Date().toUTCString();
            case LoggerMessage.timestamp.localedate:
                return new Date().toLocaleDateString();
            case LoggerMessage.timestamp.localetime:
                return new Date().toLocaleTimeString();
            case LoggerMessage.timestamp.numeric:
                generateNumericTimestamp();
            case LoggerMessage.timestamp.locale:
                return new Date().toLocaleString();
            case LoggerMessage.timestamp.none:
            default:
                return undefined;
        }
    }
generateTimestamp ( format ) { switch ( format ) { case LoggerMessage . timestamp . utc : return new Date ( ) . toUTCString ( ) ; case LoggerMessage . timestamp . localedate : return new Date ( ) . toLocaleDateString ( ) ; case LoggerMessage . timestamp . localetime : return new Date ( ) . toLocaleTimeString ( ) ; case LoggerMessage . timestamp . numeric : generateNumericTimestamp ( ) ; case LoggerMessage . timestamp . locale : return new Date ( ) . toLocaleString ( ) ; case LoggerMessage . timestamp . none : default : return undefined ; } }
Set the timestamp format
 @param {Number} format
Set the timestamp format @param { Number } format