示例#1
0
def init_rust_logger(level, log_show_rust_3rdparty):
    native = Native()
    levelno = get_numeric_level(level)
    native.init_rust_logging(levelno, log_show_rust_3rdparty)
示例#2
0
def init_rust_logger(log_level: LogLevel, log_show_rust_3rdparty: bool) -> None:
    native = Native()
    native.init_rust_logging(log_level.level, log_show_rust_3rdparty)
示例#3
0
def init_rust_logger(level, log_show_rust_3rdparty):
  native = Native()
  levelno = get_numeric_level(level)
  native.init_rust_logging(levelno, log_show_rust_3rdparty)
示例#4
0
文件: logging.py 项目: Romainj1/pants
def init_rust_logger(level):
    native = Native()
    levelno = get_numeric_level(level)
    native.init_rust_logging(levelno)