Forrest logo
back to the ern tool

ern:tldr:7c603

ern: Set a logging level.
$ ern platform config set logLevel ${select}
try on your machine

The given command is used to set the log level for the platform configuration in the ERN (Electrode Native) development environment. Here's what each part of the command means:

  • ern platform config set: This is the main command used to set configuration values for the platform in ERN.
  • logLevel: This is the specific configuration key that is being set. In this case, it is related to the log level.
  • ${select}: This is a placeholder indicating that the value for log level needs to be provided. It is expecting a value to be selected from a list of available log levels.

To execute the command, you need to replace ${select} with an actual log level value. For example, if the available log levels are info, debug, and warn, you would replace ${select} with one of those values.

Overall, this command allows you to configure the log level for the platform in the ERN development environment, allowing you to control the amount and detail of logging information that is generated.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ern tool