Companion object to Flog.
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Method to instantiate a normal instance of Flog with logging via the default logging function (based on the class Flog).
Method to instantiate a normal instance of Flog with logging via the default logging function (based on the class Flog).
Attributes
- Returns
-
an instance of Flog.
Use this method to create an instance of Flog with the default logging function based on clazz.
Use this method to create an instance of Flog with the default logging function based on clazz.
Value parameters
- clazz
-
the class for which you want to log.
Attributes
- Returns
-
a new instance of Flog.
Method to instantiate a normal instance of Flog with logging via the default logging function (based on the class Flog).
Method to instantiate a normal instance of Flog with logging via the default logging function (based on the class Flog).
Attributes
- Returns
-
an instance of Flog.
Method to create a Flog from a StringBuilder. Mostly intended for testing.
Method to create a Flog from a StringBuilder. Mostly intended for testing.
Value parameters
- sb
-
the StringBuilder.
Attributes
- Returns
-
an instance of Flog.
Method to create a Flog from an Appendable, AutoCloseable, Flushable object. Don't forget to close this Flog.
Method to create a Flog from an Appendable, AutoCloseable, Flushable object. Don't forget to close this Flog.
Value parameters
- a
-
the Appendable, which must also be AutoCloseable and Flushable.
Attributes
- Returns
-
an instance of Flog.
Method to create a Flog from a PrintStream. NOTE: invokes apply(Appendable).
Method to create a Flog from a PrintStream. NOTE: invokes apply(Appendable).
Value parameters
- s
-
the PrintStream.
Attributes
- Returns
-
an instance of Flog.
Method to create a Flog from an OutputStream. NOTE: invokes apply(Appendable). Don't forget to close this Flog.
Method to create a Flog from an OutputStream. NOTE: invokes apply(Appendable). Don't forget to close this Flog.
Value parameters
- o
-
the OutputStream.
Attributes
- Returns
-
an instance of Flog.