1 |
/* LogRecord.java -- |
/* LogRecord.java -- |
2 |
A class for the state associated with individual logging events |
A class for the state associated with individual logging events |
3 |
Copyright (C) 2002, 2003 Free Software Foundation, Inc. |
Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
6 |
|
|
388 |
* Allocates a sequence number for a new LogRecord. This class |
* Allocates a sequence number for a new LogRecord. This class |
389 |
* method is only called by the LogRecord constructor. |
* method is only called by the LogRecord constructor. |
390 |
*/ |
*/ |
391 |
private synchronized static long allocateSeqNum() |
private static synchronized long allocateSeqNum() |
392 |
{ |
{ |
393 |
lastSeqNum += 1; |
lastSeqNum += 1; |
394 |
return lastSeqNum; |
return lastSeqNum; |