log library
Classes
- Heartbeat
- LogEntry
- Logger
- Use a Logger to log debug messages.
- LogLevel
- LogLevels to control logging output. Logging can be enabled to include all levels above certain LogLevel. LogLevels are ordered using an integer value LogLevel.value. The predefined LogLevel constants below are sorted as follows (in descending order): LogLevel.SHOUT, LogLevel.SEVERE, LogLevel.WARNING, LogLevel.INFO, LogLevel.CONFIG, LogLevel.FINE, LogLevel.FINER, LogLevel.FINEST, and LogLevel.ALL.
- Stopwatch
Mixins
Properties
- manualNow ↔ DateTime?
-
Used for testing.
getter/setter pair
- now → DateTime
-
no setter
- nowMicrosecondsSinceEpoch → int
-
no setter
- processCurrentRssInMB → double
-
no setter
- processMaxRssInMB → double
-
no setter
Functions
-
logCurrentProcessInformation(
Logger logger, LogLevel logLevel) → void -
logEnvironmentInformation(
Logger logger, LogLevel logLevel) → void -
logUnsuccessfulProcessResult(
ProcessResult result, Log _log) → void -
prettyDuration(
Duration duration) → String -
Returns the given
duration
in a pretty format. Examples: