<reponame>sacOO7/socketcluster-client-python
# import json
# x=json.dumps({"sac": "wefwef", "dydd": "fefewf", "qwdqwd": 0},sort_keys=True)
# print x

# emitobject = json.loads('{"a":"hi"}')
# print json.dumps(emitobject,sort_keys=True)

# from threading import Timer
#
#
# def hello():
#     print "hello, world"
#
#
# t = Timer(3.0, hello)
# t.start()
import logging

# create logger
# logger = logging.getLogger('s')
# logger.setLevel(logging.INFO)
#
# # create console handler and set level to debug
# ch = logging.StreamHandler()
# ch.setLevel(logging.DEBUG)
#
# # create formatter
# formatter = logging.Formatter('%(levelname)s - %(message)s')
#
# # add formatter to ch
# ch.setFormatter(formatter)
#
# # add ch to logger
# logger.addHandler(ch)
#
# # 'application' code
# logger.debug('debug message')
# logger.info('info message')
# logger.warn('warn message')
# logger.error('error message')
# logger.critical('critical message')


# import logging
# logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG)
# logging.warning('And this, too')
# logging.debug('This message should appear on the console')
# logging.info('So should this')

# import json
# x=json.dumps({"sac": "wefwef", "dydd": "fefewf", "qwdqwd": 0},sort_keys=True)
# print x

# emitobject = json.loads('{"a":"hi"}')
# print json.dumps(emitobject,sort_keys=True)

# from threading import Timer
#
#
# def hello():
#     print "hello, world"
#
#
# t = Timer(3.0, hello)
# t.start()
import logging

# create logger
# logger = logging.getLogger('s')
# logger.setLevel(logging.INFO)
#
# # create console handler and set level to debug
# ch = logging.StreamHandler()
# ch.setLevel(logging.DEBUG)
#
# # create formatter
# formatter = logging.Formatter('%(levelname)s - %(message)s')
#
# # add formatter to ch
# ch.setFormatter(formatter)
#
# # add ch to logger
# logger.addHandler(ch)
#
# # 'application' code
# logger.debug('debug message')
# logger.info('info message')
# logger.warn('warn message')
# logger.error('error message')
# logger.critical('critical message')


# import logging
# logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG)
# logging.warning('And this, too')
# logging.debug('This message should appear on the console')
# logging.info('So should this')
# import json # x=json.dumps({"sac": "wefwef", "dydd": "fefewf", "qwdqwd": 0},sort_keys=True) # print x # emitobject = json.loads('{"a":"hi"}') # print json.dumps(emitobject,sort_keys=True) # from threading import Timer # # # def hello(): #     print "hello, world" # # # t = Timer(3.0, hello) # t.start() # create logger # logger = logging.getLogger('s') # logger.setLevel(logging.INFO) # # # create console handler and set level to debug # ch = logging.StreamHandler() # ch.setLevel(logging.DEBUG) # # # create formatter # formatter = logging.Formatter('%(levelname)s - %(message)s') # # # add formatter to ch # ch.setFormatter(formatter) # # # add ch to logger # logger.addHandler(ch) # # # 'application' code # logger.debug('debug message') # logger.info('info message') # logger.warn('warn message') # logger.error('error message') # logger.critical('critical message') # import logging # logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG) # logging.warning('And this, too') # logging.debug('This message should appear on the console') # logging.info('So should this')