DatadogLogging class
Constructors
- DatadogLogging(DatadogSdk core)
Properties
- core → DatadogSdk
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAttribute(
String key, Object value) → void - Add a custom attribute to all future logs sent by all loggers.
-
createLogger(
DatadogLoggerConfiguration configuration) → DatadogLogger -
deinitialize(
) → void - FOR INTERNAL USE ONLY Deinitialize this Logs instance. Note that this does not propertly deregister this Logs instance from the default Core, since this should only be called from the Core
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAttribute(
String key) → void - Remove a custom attribute from all future logs sent by this logger.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
enable(
DatadogSdk core, DatadogLoggingConfiguration config) → Future< DatadogLogging?>