# -*- mode: snippet -*-
|
|
# name: logging
|
|
# key: log
|
|
# --
|
|
logger = logging.getLogger("${1:name}")
|
|
logger.setLevel(logging.${2:level})
|