from my_collection import logger

if __name__ == "__main__":
    logger.now().debug("debug1")
    logger.now().debug("debug2")
    logger.now().info("hello1")
    logger.now().info("hello2")
    logger.now().with_field("key", "val").error("with field1")
    logger.now().with_field("key", "val").error("with field2")

[((65, 77), 'my_collection.logger.now', 'logger.now', ([], {}), '()\n', (75, 77), False, 'from my_collection import logger\n'), ((98, 110), 'my_collection.logger.now', 'logger.now', ([], {}), '()\n', (108, 110), False, 'from my_collection import logger\n'), ((131, 143), 'my_collection.logger.now', 'logger.now', ([], {}), '()\n', (141, 143), False, 'from my_collection import logger\n'), ((163, 175), 'my_collection.logger.now', 'logger.now', ([], {}), '()\n', (173, 175), False, 'from my_collection import logger\n'), ((195, 207), 'my_collection.logger.now', 'logger.now', ([], {}), '()\n', (205, 207), False, 'from my_collection import logger\n'), ((258, 270), 'my_collection.logger.now', 'logger.now', ([], {}), '()\n', (268, 270), False, 'from my_collection import logger\n')]