---
title: "FileLogger..::.Error Method (String, Exception)"
canonical: https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_Logger_FileLogger_Error_2_0d1ddd4f.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# FileLogger.Error Method (String, Exception)

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.Logger](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_Logger.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```csharp
public void Error(string message,Exception ex
)
```
 
### Parameters
 
 - message
     - Type: [System..String](http://msdn2.microsoft.com/en-us/library/s1wwdcbf)

 - ex
     - Type: [System..Exception](http://msdn2.microsoft.com/en-us/library/c18k6c59)
 
### Implements
 
[ILogger..Error(String, Exception)](https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_Logger_ILogger_Error_2_0d1ddd4f.htm.md)
   
## See Also

### Reference

- [FileLogger Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_Logger_FileLogger.htm.md)
- [Error Overload](https://www.graphicsmill.com/docs/gmwc/O_T_Aurigma_GraphicsMill_AjaxControls_Logger_FileLogger_Error.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.Logger Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_Logger.htm.md)
