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")

[((4, 4, 4, 16), 'my_collection.logger.now', 'logger.now', ({}, {}), '()', False, 'from my_collection import logger\n'), ((5, 4, 5, 16), 'my_collection.logger.now', 'logger.now', ({}, {}), '()', False, 'from my_collection import logger\n'), ((6, 4, 6, 16), 'my_collection.logger.now', 'logger.now', ({}, {}), '()', False, 'from my_collection import logger\n'), ((7, 4, 7, 16), 'my_collection.logger.now', 'logger.now', ({}, {}), '()', False, 'from my_collection import logger\n'), ((8, 4, 8, 16), 'my_collection.logger.now', 'logger.now', ({}, {}), '()', False, 'from my_collection import logger\n'), ((9, 4, 9, 16), 'my_collection.logger.now', 'logger.now', ({}, {}), '()', False, 'from my_collection import logger\n')]