class LogMessage implements ILogMessage {

  @Override
  @Deprecated
  public String toString() {
    if (simplified) {
      return getMessage();
    } else {
      if ( StringUtils.isBlank( message ) ) {
        return subject;
      } else if ( StringUtils.isBlank( subject ) ) {
        return getMessage();
      }
      return String.format( "%s - %s", subject, getMessage() );
    }
  }

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

}