# LogManager

The log manager instance, which can be obtained via wx.getLogManager.

# Methods

# LogManager.debug()

Writes the "debug" log.

# LogManager.info()

Writes the "info" log.

# LogManager.log()

Writes the "log" log.

# LogManager.warn()

Writes the "warn" log.

# How to Use

You can save up to 5 MB in log content. Old log content will be deleted if this threshold is exceeded.
You can use open-type="feedback" of the button component to upload printed logs. Developers can view these logs via "Feedback Management" in the left-side menu on the Mini Program admin console.

By default, the base library writes the App and Page lifecycle functions and function calls under the wx namespace to the log.