Format: application/octet-stream
⬇ Download File (863 B)
   1  from typing import Any, Text
   2  
   3  DEBUG: int
   4  INFO: int
   5  WARN: int
   6  ERROR: int
   7  FATAL: int
   8  
   9  class Log:
  10      def __init__(self, threshold: int = ...) -> None: ...
  11      def log(self, level: int, msg: Text, *args: Any) -> None: ...
  12      def debug(self, msg: Text, *args: Any) -> None: ...
  13      def info(self, msg: Text, *args: Any) -> None: ...
  14      def warn(self, msg: Text, *args: Any) -> None: ...
  15      def error(self, msg: Text, *args: Any) -> None: ...
  16      def fatal(self, msg: Text, *args: Any) -> None: ...
  17  
  18  def log(level: int, msg: Text, *args: Any) -> None: ...
  19  def debug(msg: Text, *args: Any) -> None: ...
  20  def info(msg: Text, *args: Any) -> None: ...
  21  def warn(msg: Text, *args: Any) -> None: ...
  22  def error(msg: Text, *args: Any) -> None: ...
  23  def fatal(msg: Text, *args: Any) -> None: ...
  24  def set_threshold(level: int) -> int: ...
  25  def set_verbosity(v: int) -> None: ...
  26