Future<Reply> logLevel(int level, {int timeoutSeconds: 10})

Enable log output. Levels same as the console.conf values

Source

Future<Reply> logLevel(int level, {int timeoutSeconds: 10}) =>
    _subscribeAndSendCommand(
        'log $level', new Duration(seconds: timeoutSeconds));