public LogRecord(Level level,String msg){
  level.getClass();
  this.level=level;
  message=msg;
  sequenceNumber=globalSequenceNumber.getAndIncrement();
  threadID=defaultThreadID();
  millis=System.currentTimeMillis();
  needToInferCaller=true;
}

public LogRecord ( Level level , String msg ) { level . getClass ( ) ; this . level = level ; message = msg ; sequenceNumber = globalSequenceNumber . getAndIncrement ( ) ; threadID = defaultThreadID ( ) ; millis = System . currentTimeMillis ( ) ; needToInferCaller = true ; }
construct a logrecord with the given level and message values . < p > the sequence property will be initialized with a new unique value . these sequence values are allocated in increasing order within a vm . < p > the millis property will be initialized to the current time . < p > the thread id property will be initialized with a unique id for the current thread . < p > all other properties will be initialized to " null " .
