@Override
  @Deprecated
  public String toString() {
    if ( StringUtils.isBlank( message ) ) {
      return subject;
    } else if ( StringUtils.isBlank( subject ) ) {
      return getMessage();
    }
    return String.format( "%s - %s", subject, getMessage() );
  }
@Test
  public void testToString() throws Exception {
    LogMessage msg = new LogMessage( "Log message",
        "Channel 01",
        LogLevel.DEBUG );
    msg.setSubject( "Simple" );

    assertEquals( "Simple - Log message", msg.toString( ) );
  }