# logWhenShaderIsCompiled

> If this is true, a log entry is made each time a shader is compiled at application runtime.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Rendering](/engine/6000.5/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static bool logWhenShaderIsCompiled { get; set; }
```

### Remarks

Setting this property allows the application to turn shader compilation logging on or off at application runtime. Each log entry contains the following: shader name, pass name, shader stage and enabled keywords, if any. Note: this option has no effect in release builds.
