C# Class NLog.Targets.Syslog.Policies.TruncateToComputedValuePolicy

Afficher le fichier Open project: graffen/NLog.Targets.Syslog Class Usage Examples

Méthodes publiques

Méthode Description
Apply ( ByteArray bytes ) : void
IsApplicable ( ) : bool
TruncateToComputedValuePolicy ( EnforcementConfig enforcementConfig, bool assumeAsciiEncoding ) : NLog.Common

Private Methods

Méthode Description
MaxLengthToAvoidCharCorruption ( ByteArray bytes, long updatedMaxLength ) : long

Method Details

Apply() public méthode

public Apply ( ByteArray bytes ) : void
bytes ByteArray
Résultat void

IsApplicable() public méthode

public IsApplicable ( ) : bool
Résultat bool

TruncateToComputedValuePolicy() public méthode

public TruncateToComputedValuePolicy ( EnforcementConfig enforcementConfig, bool assumeAsciiEncoding ) : NLog.Common
enforcementConfig NLog.Targets.Syslog.Settings.EnforcementConfig
assumeAsciiEncoding bool
Résultat NLog.Common