# setLoggingListener method

void setLoggingListener(

1. LoggingListener listener

)

Adds a logging listener to the list of logging listeners.

Logging listeners are used to listen to logging events.

### Example

    final app = JetApplication();
    app.setLoggingListener(LoggingListener());

## Implementation

    void setLoggingListener(LoggingListener listener) {
      _loggingListener = listener;
      LogFactory.setGlobalLoggingListener(listener);
    }