Client-cli

Install

before install you need see pub global

pub global activate log4d

Usage

$ log4d_client -h
-p, --port         port with server
                   (defaults to "8899")

-h, --[no-]help    show help info
-t, --host         host with server
                   (defaults to "localhost")

-l, --level        level for log

          [d]      debug
          [e]      error
          [i]      info
          [w]      warning
log4d_client abc

If your server is serving, the server cli will print "abc"

img

and your log1.log file will write log.

img

you also use other level

$ log4d_client -le cf

img

results matching ""

    No results matching ""