# zx::debuglog

## Summary

### Inheritance

Inherits from: [zx::object\< debuglog \>](https://fuchsia.dev/reference/cpp/class/zx/object)

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1a3f9a9832f8309f119d46d480a7d58f9a()` ||
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1adf57e3055e6bd2069865d2058ee0e082(zx_handle_t value)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1a74fccb4d2dba7ddf784f130bdfdb8e1d(https://fuchsia.dev/reference/cpp/class/zx/object#classzx_1_1object && h)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1a049b4c164cf497a3e834862adaa0f5c3(https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog && other)` ||

| ### Public static attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1a87dd982eb899d7b541563e73dcdb7337 = ZX_OBJ_TYPE_LOG` | `constexpr zx_obj_type_t` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1a23ecf1083ca53ae6e89746085387e1ce(https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog && other)` | `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog &` |
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1afc7cbe52da83a8eabd8f3dce82401550(uint32_t options, void *buffer, size_t buffer_size)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1af80dd527726e1061b80932679c0c3f99(uint32_t options, const void *buffer, size_t buffer_size)` | `zx_status_t` |

| ### Public static functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog_1a633d6d23cc827cad430e9fd6220ea131(const https://fuchsia.dev/reference/cpp/class/zx/resource#classzx_1_1resource & resource, uint32_t options, https://fuchsia.dev/reference/cpp/class/zx/debuglog#classzx_1_1debuglog *result)` | `zx_status_t` |

## Public static attributes

### TYPE

```c++
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_LOG
```

## Public functions

### debuglog

```c++
constexpr debuglog()=default
```

### debuglog

```c++
 debuglog(
  zx_handle_t value
)
```

### debuglog

```c++
 debuglog(
  handle && h
)
```

### debuglog

```c++
 debuglog(
  debuglog && other
)
```

### operator=

```c++
debuglog & operator=(
  debuglog && other
)
```

### read

```c++
zx_status_t read(
  uint32_t options,
  void *buffer,
  size_t buffer_size
)
```

### write

```c++
zx_status_t write(
  uint32_t options,
  const void *buffer,
  size_t buffer_size
)
```

## Public static functions

### create

```c++
zx_status_t create(
  const resource & resource,
  uint32_t options,
  debuglog *result
)
```