Link Search Menu Expand Document

WiFi Pineapple Python Logger

Table of contents

  1. Introduction
  2. Functions

Introduction

Python API

Functions

def get_logger(name: str, level: int, log_to_file: bool = True, console_logger_level: int = logging.DEBUG) -> Logger

Parameters

  • name: Name of Logger
  • level: Logging level.
  • log_to_file: Log to a file in /tmp/. Default: True
  • console_logger_level: Console log level Default: DEBUG

Returns

  • Logger