001package ch.qos.logback.core.property;
002
003import ch.qos.logback.core.PropertyDefinerBase;
004import ch.qos.logback.core.util.NetworkAddressUtil;
005
006public class CanonicalHostNamePropertyDefiner extends PropertyDefinerBase {
007
008    @Override
009    public String getPropertyValue() {
010        return new NetworkAddressUtil(getContext()).safelyGetCanonicalLocalHostName();
011    }
012
013}