Top Inners Fields Constructors Methods
org.antlr.v4.runtime.misc

public Class LogManager

extends Object
Class Inheritance
Imports
java.io.BufferedWriter, .FileWriter, .IOException, java.text.SimpleDateFormat, java.util.ArrayList, .Date, .List

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class

Field Summary

Modifier and TypeField and Description
protected List<LogManager.Record>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
log(String component, String msg)

public void
log(String msg)

public static void
main(String[] args)

public void
save(String filename)

public String
save()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

recordsback to summary
protected List<LogManager.Record> records

Constructor Detail

LogManagerback to summary
public LogManager()

Method Detail

logback to summary
public void log(String component, String msg)
logback to summary
public void log(String msg)
mainback to summary
public static void main(String[] args) throws IOException
saveback to summary
public void save(String filename) throws IOException
saveback to summary
public String save() throws IOException
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override
org.antlr.v4.runtime.misc back to summary

protected Class LogManager.Record

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv StackTraceElement
pack-priv String
pack-priv long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

componentback to summary
pack-priv String component
locationback to summary
pack-priv StackTraceElement location
msgback to summary
pack-priv String msg
timestampback to summary
pack-priv long timestamp

Constructor Detail

Recordback to summary
public Record()

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override