# Path: hecatoncheir/logger.py
# def to_unicode(s):
# def str2unicode(s):
# def setup():
# def ts():
# def trace(msg):
# def debug(msg):
# def info(msg):
# def info_cont(msg):
# def info_end(msg):
# def warning(msg):
# def error(msg, detail=None, query=None):
# def dump_datetime_default(o):
# def dump(msg, obj):


import os
import sys
import unittest
from hecatoncheir import logger as log
#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-

sys.path.append('..')


class TestLogger(unittest.TestCase):
    def setUp(self):
        global log

    def test_logger_001(self):
        self.assertIsNotNone(log)

    def test_trace_001(self):
        log.trace(u"trace")

        log.trace_enabled = True
        log.trace(u"trace")


# Path: hecatoncheir/logger.py
# def to_unicode(s):
# def str2unicode(s):
# def setup():
# def ts():
# def trace(msg):
# def debug(msg):
# def info(msg):
# def info_cont(msg):
# def info_end(msg):
# def warning(msg):
# def error(msg, detail=None, query=None):
# def dump_datetime_default(o):
# def dump(msg, obj):


# Path: tests/testLogger.py
import os
import sys
import unittest
from hecatoncheir import logger as log

#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-

sys.path.append('..')


class TestLogger(unittest.TestCase):
    def setUp(self):
        global log

    def test_logger_001(self):
        self.assertIsNotNone(log)

    def test_trace_001(self):
        log.trace(u"trace")

        log.trace_enabled = True
        log.trace(u"trace")


        log.trace(u"日本語unicode")