ktor-client-logging
Module Contents
alltypes
Module Contents
enum
class
LogLevel
Module Contents
ALL
BODY
HEADERS
INFO
NONE
val
body
:
Boolean
val
headers
:
Boolean
val
info
:
Boolean
interface
Logger
Module Contents
abstract
fun
log
(
message
:
String
)
:
Unit
class
Logging
Module Contents
Logging
(
logger
:
Logger
,
level
:
LogLevel
)
companion
object
Companion
:
HttpClientFeature
<
Config
,
Logging
>
Module Contents
fun
install
(
feature
:
Logging
,
scope
:
HttpClient
)
:
Unit
val
key
:
AttributeKey
<
Logging
>
fun
prepare
(
block
:
Config
.
(
)
->
Unit
)
:
Logging
class
Config
Module Contents
Config
(
)
var
level
:
LogLevel
var
logger
:
Logger
fun
install
(
feature
:
Logging
,
scope
:
HttpClient
)
:
Unit
val
key
:
AttributeKey
<
Logging
>
var
level
:
LogLevel
val
logger
:
Logger
fun
prepare
(
block
:
Config
.
(
)
->
Unit
)
:
Logging
package
io.ktor.client.features.logging
Module Contents
expect
val
Logger.Companion
.
DEFAULT
:
Logger
enum
class
LogLevel
Module Contents
ALL
BODY
HEADERS
INFO
NONE
val
body
:
Boolean
val
headers
:
Boolean
val
info
:
Boolean
interface
Logger
Module Contents
abstract
fun
log
(
message
:
String
)
:
Unit
class
Logging
Module Contents
Logging
(
logger
:
Logger
,
level
:
LogLevel
)
companion
object
Companion
:
HttpClientFeature
<
Config
,
Logging
>
Module Contents
fun
install
(
feature
:
Logging
,
scope
:
HttpClient
)
:
Unit
val
key
:
AttributeKey
<
Logging
>
fun
prepare
(
block
:
Config
.
(
)
->
Unit
)
:
Logging
class
Config
Module Contents
Config
(
)
var
level
:
LogLevel
var
logger
:
Logger
fun
install
(
feature
:
Logging
,
scope
:
HttpClient
)
:
Unit
val
key
:
AttributeKey
<
Logging
>
var
level
:
LogLevel
val
logger
:
Logger
fun
prepare
(
block
:
Config
.
(
)
->
Unit
)
:
Logging
val
Logger.Companion
.
SIMPLE
:
Logger