```ruby
# frozen_string_literal: true

require 'logger'
require_relative '../lib/tty-command'

logger = Logger.new('dev.log')

cmd = TTY::Command.new(output: logger, color: false)

cmd.run(:ls)
```

Change example to demonstrate log level has no impact on logging behaviour
user
```ruby
# frozen_string_literal: true

require 'logger'
require_relative '../lib/tty-command'

logger = Logger.new('dev.log')
logger.level = Logger::WARN
logger.warn("Logger captured:")

cmd = TTY::Command.new(output: logger, color: false)

cmd.run(:ls)
```
assistant