Neo uses golog for logging.

Default log level is INFO, but if you want to debug Neo app and get more information what’s happening under the hood, you can change log level to DEBUG.

Easiest way to do this is using configuration file. It is described in configuration section.

If you want to do it from Go, first import golog.

import ""

Now you can change Neo’s log level.

neo.Logger.Level = golog.DEBUG

ID of Neo logger is, so possible option for changing log level is also:

logger := golog.GetLogger("")
logger.Level = golog.DEBUG

To disable Neo logs completely use: