---
title: "CallSite"
slug: "api/session/types/callsite"
sidebar:
  order: 133
---

<a id="ref-8ef6cc23a69a"></a>
<a id="ref-aba906e3c404"></a>
<a id="ref-dcba8ce5a914"></a>

## Synopsis

```text
struct CallSite {
    string className;
    string methodName;
    string *fileName;
    int *lineNumber;
}
```

**`className, methodName`**

the name of the method, and the name of the class containing the method, that generated the log message

**`fileName, lineNumber`**

if present, the source file name and line number where the log message has been generated; This information may be missing as it requires the availability of debug information for the method that generated the log message.
