<commit_before>package codeOrchestra.colt.core.logging.model;

import codeOrchestra.colt.core.logging.Level;
import codeOrchestra.util.NameUtil;

import java.util.ArrayList;
import java.util.List;

/**
 * @author <NAME>
 */
public class LoggerMessage {

  private Level severity;
  private String message;
  private List<LoggerScopeWrapper> scopes = new ArrayList<>();
  private String rootFQName;
  private long timestamp;
  private String command;
  private String stackTrace;

  private LoggerMessage(Builder builder) {
    this.message = builder.message;
    this.severity = builder.severity;
    this.scopes = builder.scopes;
    this.rootFQName = builder.rootFQName;
    this.timestamp = builder.timestamp;
    this.command = builder.command;
    this.stackTrace = builder.stackTrace;
  }

  public boolean hasStackTrace() {
    return stackTrace != null;
  }

  public String getStackTrace() {
    return stackTrace;
  }

  public long getTimestamp() {
    return timestamp;
  }

  public List<LoggerScopeWrapper> getScopes() {
    return scopes;
  }

  public String getRootSimpleName() {
    if (rootFQName != null) {
      return NameUtil.shortNameFromLongName(rootFQName);
    }
    return "";
  }

  public String getMessage() {
    return message;
  }

  public Level getSeverity() {<commit_msg>Logger message source fix<commit_after>package codeOrchestra.colt.core.logging.model;

import codeOrchestra.colt.core.logging.Level;
import codeOrchestra.util.NameUtil;

import java.util.ArrayList;
import java.util.List;

/**
 * @author <NAME>
 */
public class LoggerMessage {

  private Level severity;
  private String message;
  private List<LoggerScopeWrapper> scopes = new ArrayList<>();
  private String rootFQName;
  private long timestamp;
  private String command;
  private String stackTrace;

  private LoggerMessage(Builder builder) {
    this.message = builder.message;
    this.severity = builder.severity;
    this.scopes = builder.scopes;
    this.rootFQName = builder.rootFQName;
    this.timestamp = builder.timestamp;
    this.command = builder.command;
    this.stackTrace = builder.stackTrace;
  }

  public boolean hasStackTrace() {
    return stackTrace != null;
  }

  public String getStackTrace() {
    return stackTrace;
  }

  public long getTimestamp() {
    return timestamp;
  }

  public List<LoggerScopeWrapper> getScopes() {
    return scopes;
  }

  public String getRootFQName() {
    return rootFQName;
  }

    public String getRootSimpleName() {
    if (rootFQName != null) {
      return NameUtil.shortNameFromLongName(rootFQName);
    }
    return "";
  }

  public String getMessage() {
    return message;
  }

  public Level getSeverity() {
{'fraction_non_alphanumeric': 0.0962109955423477, 'fraction_numerical': 0.0, 'mean_word_length': 3.643103448275862, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5010410', 'n_tokens_mistral': 819, 'n_tokens_neox': 799, 'n_words': 194}