Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Schneider Electric
Community
Community
Notifications
close
  • Categories
  • Forums
  • Knowledge Center
  • Blogs
  • Ideas
  • Events & Webinars
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register

Contact Support

Close

Ask our Experts

Have a question related to our products, solutions or services? Get quick support on community Forums

Email Us

For Community platform-related support, please email us

New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).

Logging and Diagnostic messages

Digital Twin

This knowledge base is addressing usage of software Experior, Machine Expert Twin and future Automation Expert Twin. These softwares are used to create smaller instances of digital twins for use in industrial automation, warehouse management, design & engineering with more..

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Select a Country

Please select a country to continue with beta search.

  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Digital Twin
  • Logging and Diagnostic messages
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • Intelligent Devices Forum

Previous Next
Contributors
  • Kasper.Vestrup
    Kasper.Vestrup

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Digital Twin
Start a Topic
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
0 Likes
117 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

Logging and Diagnostic messages

Kasper.Vestrup Explorer
‎2026-01-05 06:01 AM

on ‎2026-01-05 06:01 AM

To provide diagnostic, debug or logging messages Experior provides several mechanisms.

 

Logging

The Experior.Core.Environment.Log class provides the following static methods to write messages to the Log window:

 

public static void Write(Exception exception);
public static void Write(string message);
public static void Write(Exception se, int id);
public static void Write(string message, bool underline);
public static void Write(string message, Color color);
public static void Write(string message, LogFilter filter);
public static void Write(string message, string hightlight);
public static void Write(string message, bool underline, LogFilter filter);
public static void Write(string message, Color color, LogFilter filter);
public static void Write(string message, string hightlight, Color color);
public static void Write(string message, string hightlight, LogFilter filter);
public static void Write(string message, Color color, bool underline, LogFilter filter);
public static void Write(string message, string hightlight, Color color, bool underline);
public static void Write(string message, string hightlight, Color color, LogFilter filter);
public static void Write(string message, string hightlight, Color color, bool underline, LogFilter filter);

 

The meaning of the arguments is straightforward;

 

  • The message is the string that will be logged to the log window (and/or file depending on the properties set by the user in Experior).
  • The highlight is part of the message that will be shown in bold.
  • The color is the color in which the message will be shown.
  • Underline, this boolean indicates whether or not the message will be underlined.
  • The filter corresponds with the chosen filter by the user in the properties of the Log;

 

MicrosoftTeams-image-10.png

To illustrate, the following code:

 

Experior.Core.Environment.Log.Write("Created sensorpart assembly", "sensorpart", CadetBlue, true, Communication );
Experior.Core.Environment.Log.Write("Created sensorpart assembly", "sensorpart", Red, false, Action);

 

Will be shown as follows (when no filter is applied);

MicrosoftTeams-image-12.png
 

Debug log

 

Similar to the regular logging there is also the possibility to only log your message in case the debugging option is set in Experior.

 

In this case the Experior.Core.Environment.Log.Debug class is used with the public static void Write(string message) method.

 

Example:

Experior.Core.Environment.Log.Debug.Write("This is an example debug message");

 

Diagnostic info

Experior also provides the possibility to print diagnostic messages to other areas than the logging window.

 

Therefore the class Experior.Core.Environment.Diagnostic contains the following static methods:

 

public static void Message(string message);
public static void Message(string message, Color color);
public static void Message(string sender, string message);
public static void Message(string message, Color color, Environment.DiagnosticAction action);
public static void Message(string sender, string message, Color color);
public static void Message(string message, Color color, Environment.DiagnosticAction action, Environment.Signs sign);
public static void Message(string sender, string message, Color color, Environment.DiagnosticAction action);

 

By default the messages are shown in the status area underneath the working area.

 

The arguments are:

 

  • Message: The information that will be shown.
  • Sender: This string appended with a : will be shown before the message. It is mainly used to provide the origin of the message e.g. the Assembly name.
  • Environment.DiagnosticAction: This is an enum with the following possible values;
    ALARM in this case the message will also be shown in the alarm window of experior
    TEMPORARY in this case the message will only be shown for couple of seconds
    TEMPORARYANDLOG in this case the message will only be shown for couple of seconds but it will also be printed to the log window (where it will remain)
    STICKY in this case the message will remain visible in the status area until a new message is requested or until the message is removed or the Clear() method is called of the Diagnostic class
    REMOVE way to remove a STICKY diagnostic message
    NONE
  • Environment.Signs: This is an enum to indicate what icon should be attached to the message in the status area.
Labels (2)
Labels:
  • Exp-7 Developer
  • Experior 7

Link copied. Please paste this link to share this article on your social media post.

You’ve reached the end of your document

WHAT’S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support

    Ask our Experts

    Have a question related to our products, solutions or services? Get quick support on community Forums

    Email Us

    For Community platform-related support, please email us

Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2026 Schneider Electric

Welcome!

Welcome to your new personalized space.

of

Explore