class LogMessage implements LogMessageInterface {

  @Override
  @Deprecated
  public String toString() {
    if ( message == null ) {
      return subject;
    }
    if ( arguments != null && arguments.length > 0 ) {
      return subject + " - " + MessageFormat.format( message, arguments );
    } else {
      return subject + " - " + message;
    }
  }

  public  LogMessage( String subject, LogLevel level );
  public  LogMessage( String message, String logChannelId, LogLevel level );
  public  LogMessage( String message, String logChannelId, Object[] arguments, LogLevel level );

}