Provides logging options for IPv4's

Classes

Logger

Members

(inner) BIN

2
Binary constant

(inner) DEC

10
Decimal constant

(inner) HEX

16
Hexadecimal constant

(inner) STDOUT

1
STDOUT constant

Methods

(inner) log(order)

Log the IPv4 instance in the console
Parameters:
NameTypeDescription
orderNumber'HEX', 'DEC', 'BIN', 'STDOUT' , all static members of IPv4
Example
const ip = IPv4.from('127.0.0.1');

ip.log();

// ip.log(IPv4.HEX);

// ip.log(IPv4.STDOUT);

(inner) log_bin()

(inner) log_dec()

(inner) log_hex()