Official Content

Configures how much detail has to be added to the log when using the Log API programmatically. In addition to the specified level, all the levels of detail that follow in descending order will be included.

Values

0. Off The OFF Level has the highest possible rank and is intended to turn off logging. This is the default value.
1. Fatal The FATAL level designates very severe error events that will presumably lead the application to abort.
2. Error The ERROR level designates error events that might still allow the application to continue running.
3. Warn The WARN level designates potentially harmful situations.
4. Info The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
5. Debug The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
6. All The ALL Level has the lowest possible rank and is intended to turn on all logging.

Scope

Generators: .NET, .NET Framework, Java
Level: Generator

Description

The User Log level property allows indicating the level of detail of the Log when you use the Log API (Log external object).

This is independent of the level of detail configured in the Log level property.

That is to say, you can see the Log messages generated by the Log API without the Log messages of the generator being displayed (and vice versa).

Important: When setting this property, you indicate from which level (from the number you indicate downwards) you want to include details in the log file. So, in addition to the specified level, all the levels of detail that follow in descending order will be included. For example, if you choose "4. Info", the log will contain: 4. Info, 3. Warn, 2. Error and 1. Fatal messages.

Runtime/Design time

This property applies only at design time.

How to apply changes

To apply the corresponding changes when the property value is configured, Build any object.

See Also

Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant