title: How to print/log val in sbt build?
body: <p>If we want to print/log a simple variable like,</p>
  
  <pre><code>lazy val config = ConfigFactory.load()
  </code></pre>
  
  <p>And inspect its value in sbt, then how do we do that?</p>
  
  <p>When I just type it in sbt shell, I get:</p>
  
  <pre><code>&gt; config
  
  [error] Not a valid command: config
  
  [error] Not a valid project ID: config
  
  [error] Expected ':' (if selecting a configuration)
  
  [error] Not a valid key: config (similar: configuration, deploy-configs, conflictManager)
  
  [error] config
  </code></pre>