KaliumLogger
Custom logger writer which uses multiplatform KermitLogger underneath to allow to customize log message or tag.
Parameters
the Config object which contains the configuration of the logger.
the Tag object which identifies the source of the log message. Can combine multiple data and turns it into structured String used by the KermitLogger so that it can be parsed back again to the Tag object. To know more how it behaves and what are the possibilities, take a look at the Tag sealed class and its subtypes.
Constructors
Types
Represents the configuration for the KaliumLogger.
Defined types of tags that can be provided to the KaliumLogger as a String text.
Functions
Creates a new logger with custom tag that replaces the old tag and allows to specify which specific app flow, one of ApplicationFlow, the logs sent by this logger relate to. When the logger already contains Tag.UserClientText type of logs, then user-related tag data will still be included, and this featureId tag part will be added as a prefix, to keep the standard pattern of the tag: "taguserId|clientId". In this case it will become "featureId:featureNameuserId|clientId". When current type of tag is Tag.Text, then it will just replace it with the new one: "featureId:featureName".
Creates a new logger with a custom tag that replaces the old tag.
Creates a new logger with custom tag that replaces the old tag and allows to add user-related data to the tag. When the logger already contains Tag.UserClientText type of tag, then user-related tag data part will be replaced, and if it contained already some text tag prefix part, then the same prefix will be also included in the new one, to keep the standard pattern of the tag: "taguserId|clientId".