title: log4j parameterized logging
body: <p>I want to develop a simple logger which sends logs to a server where all the logs are stored and displayed in graphs, etc.</p>
  
  <p>The logger has to be parameterized since there is a structure given by the developed database for analyzing and displaying the stored logs.</p>
  
  <p>The parameters for the logs are implemented with overloaded methods, for example:</p>
  
  <pre><code>mylog.error(String jobname, String whatever);
  mylog.error(String jobname, String whatever, List&lt;String&gt; whatever);
  </code></pre>
  
  <p>This is how the logs are implemented by a developer when needed.</p>
  
  <p>I wonder if I could use log4j for something like this?</p>
  
  <p>Anyway, my own simple logging works fine, sending the logs in json to my server, where they are stored, etc.</p>